18 lines
535 B
Plaintext
18 lines
535 B
Plaintext
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
|
|
|