blob: 3b2b9066c90d6f428bd2eae543ad15d8fca99ed5 [file] [log] [blame]
est31e7730dc2022-02-21 03:38:391error: unused variable: `x`
est319c7ae382022-02-27 06:08:312 --> $DIR/let-else-allow-in-expr.rs:5:13
est31e7730dc2022-02-21 03:38:393 |
4LL | let x = 1;
5 | ^ help: if this is intentional, prefix it with an underscore: `_x`
6 |
7note: the lint level is defined here
est319c7ae382022-02-27 06:08:318 --> $DIR/let-else-allow-in-expr.rs:1:9
est31e7730dc2022-02-21 03:38:399 |
10LL | #![deny(unused_variables)]
11 | ^^^^^^^^^^^^^^^^
12
13error: unused variable: `x`
est319c7ae382022-02-27 06:08:3114 --> $DIR/let-else-allow-in-expr.rs:27:9
est31e7730dc2022-02-21 03:38:3915 |
16LL | let x = 1;
17 | ^ help: if this is intentional, prefix it with an underscore: `_x`
18
19error: aborting due to 2 previous errors
20