]> git.lizzy.rs Git - rust.git/blob - tests/ui/let-else/let-else-check.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / let-else / let-else-check.stderr
1 error: unused variable: `x`
2   --> $DIR/let-else-check.rs:12: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-check.rs:1:9
9    |
10 LL | #![deny(unused_variables)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: unused variable: `x`
14   --> $DIR/let-else-check.rs:16: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