]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-match-arms.stderr
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[rust.git] / src / test / ui / lint / lint-match-arms.stderr
1 error: unused variable: `y`
2   --> $DIR/lint-match-arms.rs:5:9
3    |
4 LL |         y => (),
5    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-match-arms.rs:3:16
9    |
10 LL |         #[deny(unused_variables)]
11    |                ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14