mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
9 lines
199 B
Plaintext
9 lines
199 B
Plaintext
error: the `y @ _` pattern can be written as just `y`
|
|
--> $DIR/patterns.rs:10:9
|
|
|
|
|
10 | y @ _ => (),
|
|
| ^^^^^
|
|
|
|
|
= note: `-D redundant-pattern` implied by `-D warnings`
|
|
|