]> git.lizzy.rs Git - rust.git/blob - tests/ui/string_to_string.stderr
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / string_to_string.stderr
1 error: `to_string()` called on a `String`
2   --> $DIR/string_to_string.rs:6:17
3    |
4 LL |     let mut v = message.to_string();
5    |                 ^^^^^^^^^^^^^^^^^^^
6    |
7    = help: consider using `.clone()`
8    = note: `-D clippy::string-to-string` implied by `-D warnings`
9
10 error: aborting due to previous error
11