2020-12-06 08:01:03 -06:00
|
|
|
error: `to_string()` called on a `String`
|
|
|
|
--> $DIR/string_to_string.rs:6:17
|
|
|
|
|
|
|
|
|
LL | let mut v = message.to_string();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using `.clone()`
|
2022-09-22 11:04:22 -05:00
|
|
|
= note: `-D clippy::string-to-string` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::string_to_string)]`
|
2020-12-06 08:01:03 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|