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