]> git.lizzy.rs Git - rust.git/blob - tests/ui/duplicate_underscore_argument.stderr
remove all //~ from tests
[rust.git] / tests / ui / duplicate_underscore_argument.stderr
1 error: `darth` already exists, having another argument having almost the same name makes code comprehension and documentation more difficult
2  --> $DIR/duplicate_underscore_argument.rs:7:23
3   |
4 7 | fn join_the_dark_side(darth: i32, _darth: i32) {}
5   |                       ^^^^^
6   |
7 note: lint level defined here
8  --> $DIR/duplicate_underscore_argument.rs:4:9
9   |
10 4 | #![deny(duplicate_underscore_argument)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14