mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
16 lines
348 B
Plaintext
16 lines
348 B
Plaintext
error: the `y @ _` pattern can be written as just `y`
|
|
--> $DIR/patterns.rs:10:9
|
|
|
|
|
10 | y @ _ => (),
|
|
| ^^^^^
|
|
|
|
|
= note: #[deny(redundant_pattern)] implied by #[deny(clippy)]
|
|
note: lint level defined here
|
|
--> $DIR/patterns.rs:4:9
|
|
|
|
|
4 | #![deny(clippy)]
|
|
| ^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|