2021-08-01 19:18:50 -05:00
|
|
|
error: unused variable: `x`
|
2022-02-27 00:08:31 -06:00
|
|
|
--> $DIR/let-else-check.rs:12:13
|
2021-08-01 19:18:50 -05:00
|
|
|
|
|
2022-06-02 09:39:47 -05:00
|
|
|
LL | let x = 1;
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_x`
|
2021-08-01 19:18:50 -05:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2022-02-27 00:08:31 -06:00
|
|
|
--> $DIR/let-else-check.rs:1:9
|
2021-08-01 19:18:50 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(unused_variables)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-02-20 21:38:39 -06:00
|
|
|
error: unused variable: `x`
|
2022-02-27 00:08:31 -06:00
|
|
|
--> $DIR/let-else-check.rs:16:9
|
2022-02-20 21:38:39 -06:00
|
|
|
|
|
2022-06-02 09:39:47 -05:00
|
|
|
LL | let x = 1;
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_x`
|
2022-02-20 21:38:39 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2021-08-01 19:18:50 -05:00
|
|
|
|