2 Checks for manual re-implementations of `PartialEq::ne`.
5 `PartialEq::ne` is required to always return the
6 negated result of `PartialEq::eq`, which is exactly what the default
7 implementation does. Therefore, there should never be any need to
14 impl PartialEq for Foo {
15 fn eq(&self, other: &Foo) -> bool { true }
16 fn ne(&self, other: &Foo) -> bool { !(self == other) }