2022-02-21 04:38:39 +01:00
|
|
|
error: unused variable: `chaenomeles`
|
|
|
|
--> $DIR/let-else-allow-unused.rs:14:14
|
|
|
|
|
|
|
|
|
LL | let Some(chaenomeles) = value else { return };
|
|
|
|
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chaenomeles`
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/let-else-allow-unused.rs:5:8
|
|
|
|
|
|
|
|
|
LL | #[deny(unused_variables)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-02-21 04:38:39 +01:00
|
|
|
|