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