rust/tests/ui/string_add.stderr
2025-02-04 12:19:04 +09:00

17 lines
535 B
Text

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:17:13
|
LL | let z = y + "...";
| ^^^^^^^^^
error: aborting due to 2 previous errors