2022-02-15 00:42:50 -06:00
|
|
|
error: unused variable: `x`
|
2022-10-13 11:25:34 -05:00
|
|
|
--> $DIR/let-else-then-diverge.rs:9:13
|
2022-02-15 00:42:50 -06:00
|
|
|
|
|
|
|
|
LL | let x = 5;
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_x`
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2022-10-13 11:25:34 -05:00
|
|
|
--> $DIR/let-else-then-diverge.rs:4:9
|
2022-02-15 00:42:50 -06:00
|
|
|
|
|
|
|
|
LL | #![deny(unused_variables)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|