rust-clippy/clippy_tests/examples/patterns.stderr

14 lines
331 B
Text
Raw Normal View History

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(s)
error: Could not compile `clippy_tests`.
To learn more, run the command again with --verbose.