]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/duplicate_underscore_argument.stderr
Fix adjacent code
[rust.git] / tests / ui / duplicate_underscore_argument.stderr
index 87b5c5e19d9a28631331d32900b052c0df2afef9..f71614a5fd16e199c5688cc6dacf335c1d303a50 100644 (file)
@@ -1,7 +1,7 @@
 error: `darth` already exists, having another argument having almost the same name makes code comprehension and documentation more difficult
-  --> $DIR/duplicate_underscore_argument.rs:17:23
+  --> $DIR/duplicate_underscore_argument.rs:4:23
    |
-17 | fn join_the_dark_side(darth: i32, _darth: i32) {}
+LL | fn join_the_dark_side(darth: i32, _darth: i32) {}
    |                       ^^^^^
    |
    = note: `-D clippy::duplicate-underscore-argument` implied by `-D warnings`