1 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
2 --> $DIR/derive.rs:18:10
7 = note: #[deny(derive_hash_xor_eq)] implied by #[deny(warnings)]
8 note: lint level defined here
11 6 | #![deny(warnings)]
13 note: `PartialEq` implemented here
14 --> $DIR/derive.rs:22:1
16 22 | impl PartialEq for Bar {
18 23 | | fn eq(&self, _: &Bar) -> bool { true }
22 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
23 --> $DIR/derive.rs:26:10
28 = note: #[deny(derive_hash_xor_eq)] implied by #[deny(warnings)]
29 note: `PartialEq` implemented here
30 --> $DIR/derive.rs:30:1
32 30 | impl PartialEq<Baz> for Baz {
34 31 | | fn eq(&self, _: &Baz) -> bool { true }
38 error: you are implementing `Hash` explicitly but have derived `PartialEq`
39 --> $DIR/derive.rs:37:1
41 37 | impl Hash for Bah {
43 38 | | //~^ ERROR you are implementing `Hash` explicitly but have derived `PartialEq`
44 39 | | fn hash<H: Hasher>(&self, _: &mut H) {}
48 = note: #[deny(derive_hash_xor_eq)] implied by #[deny(warnings)]
49 note: `PartialEq` implemented here
50 --> $DIR/derive.rs:34:10
52 34 | #[derive(PartialEq)]
55 error: you are implementing `Clone` explicitly on a `Copy` type
56 --> $DIR/derive.rs:45:1
58 45 | impl Clone for Qux {
60 46 | | //~^ ERROR you are implementing `Clone` explicitly on a `Copy` type
61 47 | | fn clone(&self) -> Self { Qux }
65 = note: #[deny(expl_impl_clone_on_copy)] implied by #[deny(warnings)]
66 note: lint level defined here
67 --> $DIR/derive.rs:6:9
69 6 | #![deny(warnings)]
71 note: consider deriving `Clone` or removing `Copy`
72 --> $DIR/derive.rs:45:1
74 45 | impl Clone for Qux {
76 46 | | //~^ ERROR you are implementing `Clone` explicitly on a `Copy` type
77 47 | | fn clone(&self) -> Self { Qux }
81 error: you are implementing `Clone` explicitly on a `Copy` type
82 --> $DIR/derive.rs:70:1
84 70 | impl<'a> Clone for Lt<'a> {
86 71 | | //~^ ERROR you are implementing `Clone` explicitly on a `Copy` type
87 72 | | fn clone(&self) -> Self { unimplemented!() }
91 = note: #[deny(expl_impl_clone_on_copy)] implied by #[deny(warnings)]
92 note: consider deriving `Clone` or removing `Copy`
93 --> $DIR/derive.rs:70:1
95 70 | impl<'a> Clone for Lt<'a> {
97 71 | | //~^ ERROR you are implementing `Clone` explicitly on a `Copy` type
98 72 | | fn clone(&self) -> Self { unimplemented!() }
102 error: aborting due to 5 previous errors