1 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
2 --> $DIR/derive.rs:27:10
7 = note: #[deny(clippy::derive_hash_xor_eq)] on by default
8 note: `PartialEq` implemented here
9 --> $DIR/derive.rs:30:1
11 30 | / impl PartialEq for Bar {
12 31 | | fn eq(&self, _: &Bar) -> bool { true }
16 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
17 --> $DIR/derive.rs:34:10
22 note: `PartialEq` implemented here
23 --> $DIR/derive.rs:37:1
25 37 | / impl PartialEq<Baz> for Baz {
26 38 | | fn eq(&self, _: &Baz) -> bool { true }
30 error: you are implementing `Hash` explicitly but have derived `PartialEq`
31 --> $DIR/derive.rs:44:1
33 44 | / impl Hash for Bah {
34 45 | | fn hash<H: Hasher>(&self, _: &mut H) {}
38 note: `PartialEq` implemented here
39 --> $DIR/derive.rs:41:10
41 41 | #[derive(PartialEq)]
44 error: you are implementing `Clone` explicitly on a `Copy` type
45 --> $DIR/derive.rs:51:1
47 51 | / impl Clone for Qux {
48 52 | | fn clone(&self) -> Self { Qux }
52 = note: `-D clippy::expl-impl-clone-on-copy` implied by `-D warnings`
53 note: consider deriving `Clone` or removing `Copy`
54 --> $DIR/derive.rs:51:1
56 51 | / impl Clone for Qux {
57 52 | | fn clone(&self) -> Self { Qux }
61 error: you are implementing `Clone` explicitly on a `Copy` type
62 --> $DIR/derive.rs:75:1
64 75 | / impl<'a> Clone for Lt<'a> {
65 76 | | fn clone(&self) -> Self { unimplemented!() }
69 note: consider deriving `Clone` or removing `Copy`
70 --> $DIR/derive.rs:75:1
72 75 | / impl<'a> Clone for Lt<'a> {
73 76 | | fn clone(&self) -> Self { unimplemented!() }
77 error: you are implementing `Clone` explicitly on a `Copy` type
78 --> $DIR/derive.rs:85:1
80 85 | / impl Clone for BigArray {
81 86 | | fn clone(&self) -> Self { unimplemented!() }
85 note: consider deriving `Clone` or removing `Copy`
86 --> $DIR/derive.rs:85:1
88 85 | / impl Clone for BigArray {
89 86 | | fn clone(&self) -> Self { unimplemented!() }
93 error: you are implementing `Clone` explicitly on a `Copy` type
94 --> $DIR/derive.rs:95:1
96 95 | / impl Clone for FnPtr {
97 96 | | fn clone(&self) -> Self { unimplemented!() }
101 note: consider deriving `Clone` or removing `Copy`
102 --> $DIR/derive.rs:95:1
104 95 | / impl Clone for FnPtr {
105 96 | | fn clone(&self) -> Self { unimplemented!() }
109 error: aborting due to 7 previous errors