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: re-implementing `PartialEq::ne` is unnecessary
  --> $DIR/partialeq_ne_impl.rs:11:5
   |
11 |     fn ne(&self, _: &Foo) -> bool { false }
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: #[deny(partialeq_ne_impl)] implied by #[deny(warnings)]
note: lint level defined here
  --> $DIR/partialeq_ne_impl.rs:4:9
   |
4  | #![deny(warnings)]
   |         ^^^^^^^^

error: aborting due to previous error