6b6253016f
rustc now (https://github.com/rust-lang/rust/issues/33525) does not report an error count anymore, because it was not correct in many cases.
14 lines
331 B
Plaintext
14 lines
331 B
Plaintext
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.
|