X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fstring_add.stderr;h=3987641c75a30c04ce8dd03626eae79188722ee4;hb=b62319ce025b9a127f3d0f1217e3326418a38bb8;hp=8345c50f9710c2b32a5db37bc059380dddad117d;hpb=e4e1a5a0d96fab87dfe521c338af871a4aee9266;p=rust.git diff --git a/tests/ui/string_add.stderr b/tests/ui/string_add.stderr index 8345c50f971..3987641c75a 100644 --- a/tests/ui/string_add.stderr +++ b/tests/ui/string_add.stderr @@ -1,5 +1,5 @@ error: manual implementation of an assign operation - --> $DIR/string_add.rs:8:9 + --> $DIR/string_add.rs:13:9 | LL | x = x + "."; | ^^^^^^^^^^^ help: replace it with: `x += "."` @@ -7,7 +7,7 @@ LL | x = x + "."; = note: `-D clippy::assign-op-pattern` implied by `-D warnings` error: you added something to a string. Consider using `String::push_str()` instead - --> $DIR/string_add.rs:8:13 + --> $DIR/string_add.rs:13:13 | LL | x = x + "."; | ^^^^^^^ @@ -15,13 +15,13 @@ LL | x = x + "."; = note: `-D clippy::string-add` implied by `-D warnings` error: you added something to a string. Consider using `String::push_str()` instead - --> $DIR/string_add.rs:12:13 + --> $DIR/string_add.rs:17:13 | LL | let z = y + "..."; | ^^^^^^^^^ error: manual implementation of an assign operation - --> $DIR/string_add.rs:17:5 + --> $DIR/string_add.rs:22:5 | LL | x = x + 1; | ^^^^^^^^^ help: replace it with: `x += 1`