rust/tests/ui/let-else/let-else-check.stderr

21 lines
529 B
Plaintext
Raw Normal View History

2021-08-01 19:18:50 -05:00
error: unused variable: `x`
--> $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
--> $DIR/let-else-check.rs:1:9
2021-08-01 19:18:50 -05:00
|
LL | #![deny(unused_variables)]
| ^^^^^^^^^^^^^^^^
error: unused variable: `x`
--> $DIR/let-else-check.rs:16:9
|
2022-06-02 09:39:47 -05:00
LL | let x = 1;
| ^ help: if this is intentional, prefix it with an underscore: `_x`
error: aborting due to 2 previous errors
2021-08-01 19:18:50 -05:00