]> git.proxmox.com Git - rustc.git/blob - src/test/ui/let-else/let-else-allow-in-expr.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / let-else / let-else-allow-in-expr.stderr
1 error: unused variable: `x`
2 --> $DIR/let-else-allow-in-expr.rs:5:13
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
8 --> $DIR/let-else-allow-in-expr.rs:1:9
9 |
10 LL | #![deny(unused_variables)]
11 | ^^^^^^^^^^^^^^^^
12
13 error: unused variable: `x`
14 --> $DIR/let-else-allow-in-expr.rs:27:9
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