mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
369 B
Plaintext
15 lines
369 B
Plaintext
error: unused variable: `y`
|
|
--> $DIR/lint-match-arms.rs:5:9
|
|
|
|
|
LL | y => (),
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_y`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-match-arms.rs:3:16
|
|
|
|
|
LL | #[deny(unused_variables)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|