1 error: `to_string()` called on a `&str`
2 --> $DIR/str_to_string.rs:4:17
4 LL | let hello = "hello world".to_string();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D clippy::str-to-string` implied by `-D warnings`
8 = help: consider using `.to_owned()`
10 error: `to_string()` called on a `&str`
11 --> $DIR/str_to_string.rs:6:5
16 = help: consider using `.to_owned()`
18 error: aborting due to 2 previous errors