]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error: unused variable: `x` |
0731742a | 2 | --> $DIR/issue-17999.rs:5:13 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | let x = (); |
9fa01778 | 5 | | ^ help: consider prefixing with an underscore: `_x` |
8faf50e0 | 6 | | |
74b04a01 | 7 | note: the lint level is defined here |
0731742a | 8 | --> $DIR/issue-17999.rs:1:9 |
8faf50e0 XL |
9 | | |
10 | LL | #![deny(unused_variables)] | |
11 | | ^^^^^^^^^^^^^^^^ | |
12 | ||
13 | error: unused variable: `a` | |
0731742a | 14 | --> $DIR/issue-17999.rs:7:13 |
8faf50e0 | 15 | | |
532ac7d7 | 16 | LL | a => {} |
9fa01778 | 17 | | ^ help: consider prefixing with an underscore: `_a` |
8faf50e0 XL |
18 | |
19 | error: aborting due to 2 previous errors | |
20 |