X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fduplicate_underscore_argument.stderr;h=f71614a5fd16e199c5688cc6dacf335c1d303a50;hb=26df55112f754033d18d2157731ae3b4ecd41aa8;hp=0550aaae566f6b5b85d9d6a8d3e3acf4813c38c0;hpb=fd1351f6e311b6c3e24a0b236bf2879501d4fd38;p=rust.git diff --git a/tests/ui/duplicate_underscore_argument.stderr b/tests/ui/duplicate_underscore_argument.stderr index 0550aaae566..f71614a5fd1 100644 --- a/tests/ui/duplicate_underscore_argument.stderr +++ b/tests/ui/duplicate_underscore_argument.stderr @@ -1,14 +1,10 @@ error: `darth` already exists, having another argument having almost the same name makes code comprehension and documentation more difficult - --> $DIR/duplicate_underscore_argument.rs:7:23 - | -7 | fn join_the_dark_side(darth: i32, _darth: i32) {} //~ERROR `darth` already exists - | ^^^^^ - | -note: lint level defined here - --> $DIR/duplicate_underscore_argument.rs:4:9 - | -4 | #![deny(duplicate_underscore_argument)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + --> $DIR/duplicate_underscore_argument.rs:4:23 + | +LL | fn join_the_dark_side(darth: i32, _darth: i32) {} + | ^^^^^ + | + = note: `-D clippy::duplicate-underscore-argument` implied by `-D warnings` error: aborting due to previous error