blob: 1a24015da541a44a215afaac40c1e7dc67824a70 [file] [log] [blame]
error: unused variable: `x`
--> $DIR/issue-17999.rs:15:13
|
LL | let x = (); //~ ERROR: unused variable: `x`
| ^ help: consider using `_x` instead
|
note: lint level defined here
--> $DIR/issue-17999.rs:11:9
|
LL | #![deny(unused_variables)]
| ^^^^^^^^^^^^^^^^
error: unused variable: `a`
--> $DIR/issue-17999.rs:17:13
|
LL | a => {} //~ ERROR: unused variable: `a`
| ^ help: consider using `_a` instead
error: aborting due to 2 previous errors