]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/string_to_string.stderr
Auto merge of #84620 - Dylan-DPC:rollup-wkv97im, r=Dylan-DPC
[rust.git] / src / tools / clippy / 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    = note: `-D clippy::string-to-string` implied by `-D warnings`
8    = help: consider using `.clone()`
9
10 error: aborting due to previous error
11