mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-01-02 08:19:11 +00:00
13 lines
328 B
Text
13 lines
328 B
Text
error: the `y @ _` pattern can be written as just `y`
|
|
--> patterns.rs:10:9
|
|
|
|
|
10 | y @ _ => (),
|
|
| ^^^^^
|
|
|
|
|
= note: `-D redundant-pattern` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
To learn more, run the command again with --verbose.
|