]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/string_add.stderr
Auto merge of #10094 - EricWu2003:increment-visitor-fix, r=xFrednet
[rust.git] / tests / ui / string_add.stderr
index 8345c50f9710c2b32a5db37bc059380dddad117d..3987641c75a30c04ce8dd03626eae79188722ee4 100644 (file)
@@ -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`