]> git.lizzy.rs Git - rust.git/blob - tests/ui/let-else/let-else-allow-unused.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / let-else / let-else-allow-unused.stderr
1 error: unused variable: `chaenomeles`
2   --> $DIR/let-else-allow-unused.rs:14:14
3    |
4 LL |     let Some(chaenomeles) = value else { return };
5    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chaenomeles`
6    |
7 note: the lint level is defined here
8   --> $DIR/let-else-allow-unused.rs:5:8
9    |
10 LL | #[deny(unused_variables)]
11    |        ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14