clippy 0.0.124

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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