]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/string_extend.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / string_extend.stderr
index 4be2037ad31bbb915076214e79373575efff1975..80a490b7884cd32b47a5b7ccc1ac629ebf918c48 100644 (file)
@@ -1,21 +1,21 @@
 error: calling `.extend(_.chars())`
-  --> $DIR/string_extend.rs:16:5
+  --> $DIR/string_extend.rs:25:5
    |
-16 |     s.extend(abc.chars());
+LL |     s.extend(abc.chars());
    |     ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(abc)`
    |
-   = note: `-D string-extend-chars` implied by `-D warnings`
+   = note: `-D clippy::string-extend-chars` implied by `-D warnings`
 
 error: calling `.extend(_.chars())`
-  --> $DIR/string_extend.rs:19:5
+  --> $DIR/string_extend.rs:28:5
    |
-19 |     s.extend("abc".chars());
+LL |     s.extend("abc".chars());
    |     ^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str("abc")`
 
 error: calling `.extend(_.chars())`
-  --> $DIR/string_extend.rs:22:5
+  --> $DIR/string_extend.rs:31:5
    |
-22 |     s.extend(def.chars());
+LL |     s.extend(def.chars());
    |     ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(&def)`
 
 error: aborting due to 3 previous errors