]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/duplicate_underscore_argument.stderr
Auto merge of #99963 - cjgillot:iter-submodule, r=compiler-errors
[rust.git] / src / tools / clippy / 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:4:23
3    |
4 LL | fn join_the_dark_side(darth: i32, _darth: i32) {}
5    |                       ^^^^^
6    |
7    = note: `-D clippy::duplicate-underscore-argument` implied by `-D warnings`
8
9 error: aborting due to previous error
10