1 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
2 --> $DIR/derive.rs:25:10
7 = note: #[deny(clippy::derive_hash_xor_eq)] on by default
8 note: `PartialEq` implemented here
9 --> $DIR/derive.rs:28:1
11 28 | / impl PartialEq for Bar {
12 29 | | fn eq(&self, _: &Bar) -> bool {
18 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
19 --> $DIR/derive.rs:34:10
24 note: `PartialEq` implemented here
25 --> $DIR/derive.rs:37:1
27 37 | / impl PartialEq<Baz> for Baz {
28 38 | | fn eq(&self, _: &Baz) -> bool {
34 error: you are implementing `Hash` explicitly but have derived `PartialEq`
35 --> $DIR/derive.rs:46:1
37 46 | / impl Hash for Bah {
38 47 | | fn hash<H: Hasher>(&self, _: &mut H) {}
42 note: `PartialEq` implemented here
43 --> $DIR/derive.rs:43:10
45 43 | #[derive(PartialEq)]
48 error: you are implementing `Clone` explicitly on a `Copy` type
49 --> $DIR/derive.rs:53:1
51 53 | / impl Clone for Qux {
52 54 | | fn clone(&self) -> Self {
58 = note: `-D clippy::expl-impl-clone-on-copy` implied by `-D warnings`
59 note: consider deriving `Clone` or removing `Copy`
60 --> $DIR/derive.rs:53:1
62 53 | / impl Clone for Qux {
63 54 | | fn clone(&self) -> Self {
69 error: you are implementing `Clone` explicitly on a `Copy` type
70 --> $DIR/derive.rs:77:1
72 77 | / impl<'a> Clone for Lt<'a> {
73 78 | | fn clone(&self) -> Self {
74 79 | | unimplemented!()
79 note: consider deriving `Clone` or removing `Copy`
80 --> $DIR/derive.rs:77:1
82 77 | / impl<'a> Clone for Lt<'a> {
83 78 | | fn clone(&self) -> Self {
84 79 | | unimplemented!()
89 error: you are implementing `Clone` explicitly on a `Copy` type
90 --> $DIR/derive.rs:89:1
92 89 | / impl Clone for BigArray {
93 90 | | fn clone(&self) -> Self {
94 91 | | unimplemented!()
99 note: consider deriving `Clone` or removing `Copy`
100 --> $DIR/derive.rs:89:1
102 89 | / impl Clone for BigArray {
103 90 | | fn clone(&self) -> Self {
104 91 | | unimplemented!()
109 error: you are implementing `Clone` explicitly on a `Copy` type
110 --> $DIR/derive.rs:101:1
112 101 | / impl Clone for FnPtr {
113 102 | | fn clone(&self) -> Self {
114 103 | | unimplemented!()
119 note: consider deriving `Clone` or removing `Copy`
120 --> $DIR/derive.rs:101:1
122 101 | / impl Clone for FnPtr {
123 102 | | fn clone(&self) -> Self {
124 103 | | unimplemented!()
129 error: aborting due to 7 previous errors