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