]> git.lizzy.rs Git - rust.git/blob - tests/ui/partialeq_ne_impl.stderr
Merge pull request #2984 from flip1995/single_char_pattern
[rust.git] / tests / ui / partialeq_ne_impl.stderr
1 error: re-implementing `PartialEq::ne` is unnecessary
2   --> $DIR/partialeq_ne_impl.rs:10:5
3    |
4 10 |     fn ne(&self, _: &Foo) -> bool { false }
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D partialeq-ne-impl` implied by `-D warnings`
8
9 error: aborting due to previous error
10