]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-17999.stderr
Auto merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz
[rust.git] / src / test / ui / issues / issue-17999.stderr
1 error: unused variable: `x`
2   --> $DIR/issue-17999.rs:15:13
3    |
4 LL |         let x = (); //~ ERROR: unused variable: `x`
5    |             ^ help: consider using `_x` instead
6    |
7 note: lint level defined here
8   --> $DIR/issue-17999.rs:11:9
9    |
10 LL | #![deny(unused_variables)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: unused variable: `a`
14   --> $DIR/issue-17999.rs:17:13
15    |
16 LL |             a => {} //~ ERROR: unused variable: `a`
17    |             ^ help: consider using `_a` instead
18
19 error: aborting due to 2 previous errors
20