2019-03-30 18:00:07 -05:00
|
|
|
error: unused variable: `y`
|
|
|
|
--> $DIR/lint-match-arms.rs:5:9
|
|
|
|
|
|
|
|
|
LL | y => (),
|
2020-03-23 03:02:46 -05:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_y`
|
2019-03-30 18:00:07 -05:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2019-03-30 18:00:07 -05:00
|
|
|
--> $DIR/lint-match-arms.rs:3:16
|
|
|
|
|
|
|
|
|
LL | #[deny(unused_variables)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2019-03-30 18:00:07 -05:00
|
|
|
|