1 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
2 --> $DIR/derive_hash_xor_eq.rs:12:10
7 = note: `#[deny(clippy::derive_hash_xor_eq)]` on by default
8 note: `PartialEq` implemented here
9 --> $DIR/derive_hash_xor_eq.rs:15:1
11 LL | impl PartialEq for Bar {
12 | ^^^^^^^^^^^^^^^^^^^^^^
13 = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
15 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
16 --> $DIR/derive_hash_xor_eq.rs:21:10
21 note: `PartialEq` implemented here
22 --> $DIR/derive_hash_xor_eq.rs:24:1
24 LL | impl PartialEq<Baz> for Baz {
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
28 error: you are implementing `Hash` explicitly but have derived `PartialEq`
29 --> $DIR/derive_hash_xor_eq.rs:33:1
31 LL | / impl std::hash::Hash for Bah {
32 LL | | fn hash<H: std::hash::Hasher>(&self, _: &mut H) {}
36 note: `PartialEq` implemented here
37 --> $DIR/derive_hash_xor_eq.rs:30:10
39 LL | #[derive(PartialEq)]
41 = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
43 error: you are implementing `Hash` explicitly but have derived `PartialEq`
44 --> $DIR/derive_hash_xor_eq.rs:51:5
46 LL | / impl Hash for Foo3 {
47 LL | | fn hash<H: std::hash::Hasher>(&self, _: &mut H) {}
51 note: `PartialEq` implemented here
52 --> $DIR/derive_hash_xor_eq.rs:48:14
54 LL | #[derive(PartialEq)]
56 = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
58 error: aborting due to 4 previous errors