blob: 084a439410f830a59e4d8e7809299da3534bb2b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
|