]> git.lizzy.rs Git - rust.git/blob - src/test/ui/let-else/let-else-allow-in-expr.stderr
Auto merge of #93718 - thomcc:used-macho, r=pnkfelix
[rust.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:7: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:3:9
9    |
10 LL | #![deny(unused_variables)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: unused variable: `x`
14   --> $DIR/let-else-allow-in-expr.rs:29: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