blob: 084a439410f830a59e4d8e7809299da3534bb2b3 [file] [log] [blame]
error: you added something to a string. Consider using `String::push_str()` instead
--> tests/ui/string_add.rs:13:13
|
LL | x = x + ".";
| ^^^^^^^
|
= note: `-D clippy::string-add` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::string_add)]`
error: you added something to a string. Consider using `String::push_str()` instead
--> tests/ui/string_add.rs:18:13
|
LL | let z = y + "...";
| ^^^^^^^^^
error: aborting due to 2 previous errors