]> git.lizzy.rs Git - rust.git/blob - tests/ui/string_to_string.rs
Merge remote-tracking branch 'upstream/beta' into backport_remerge
[rust.git] / tests / ui / string_to_string.rs
1 #![warn(clippy::string_to_string)]
2 #![allow(clippy::redundant_clone)]
3
4 fn main() {
5     let mut message = String::from("Hello");
6     let mut v = message.to_string();
7 }