]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/path_buf_push_overwrite.stderr
iterate List by value
[rust.git] / tests / ui / path_buf_push_overwrite.stderr
index 35572d792498c28f32672db9372b272cdf2a2210..09b18d71baf93bcc77f8edc51b73fadc54520a8d 100644 (file)
@@ -1,10 +1,10 @@
 error: Calling `push` with '/' or '/' (file system root) will overwrite the previous path definition
-  --> $DIR/path_buf_push_overwrite.rs:6:12
+  --> $DIR/path_buf_push_overwrite.rs:7:12
    |
 LL |     x.push("/bar");
    |            ^^^^^^ help: try: `"bar"`
    |
-   = note: #[deny(clippy::path_buf_push_overwrite)] on by default
+   = note: `-D clippy::path-buf-push-overwrite` implied by `-D warnings`
 
 error: aborting due to previous error