est31 | e7730dc | 2022-02-21 03:38:39 | [diff] [blame] | 1 | error: unused variable: `x` |
est31 | 9c7ae38 | 2022-02-27 06:08:31 | [diff] [blame] | 2 | --> $DIR/let-else-allow-in-expr.rs:5:13 |
est31 | e7730dc | 2022-02-21 03:38:39 | [diff] [blame] | 3 | | |
| 4 | LL | let x = 1; |
| 5 | | ^ help: if this is intentional, prefix it with an underscore: `_x` |
| 6 | | |
| 7 | note: the lint level is defined here |
est31 | 9c7ae38 | 2022-02-27 06:08:31 | [diff] [blame] | 8 | --> $DIR/let-else-allow-in-expr.rs:1:9 |
est31 | e7730dc | 2022-02-21 03:38:39 | [diff] [blame] | 9 | | |
| 10 | LL | #![deny(unused_variables)] |
| 11 | | ^^^^^^^^^^^^^^^^ |
| 12 | |
| 13 | error: unused variable: `x` |
est31 | 9c7ae38 | 2022-02-27 06:08:31 | [diff] [blame] | 14 | --> $DIR/let-else-allow-in-expr.rs:27:9 |
est31 | e7730dc | 2022-02-21 03:38:39 | [diff] [blame] | 15 | | |
| 16 | LL | let x = 1; |
| 17 | | ^ help: if this is intentional, prefix it with an underscore: `_x` |
| 18 | |
| 19 | error: aborting due to 2 previous errors |
| 20 | |