blob: 50e54d320b006ced046b0147259e197d38427225 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: unused variable: `x`
--> $DIR/let-else-check.rs:13:9
|
LL | let x = 1;
| ^ help: if this is intentional, prefix it with an underscore: `_x`
|
note: the lint level is defined here
--> $DIR/let-else-check.rs:3:9
|
LL | #![deny(unused_variables)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error
|