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 {
17 23 | | fn eq(&self, _: &Bar) -> bool { true }
21 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
22 --> $DIR/derive.rs:26:10
27 = note: #[deny(derive_hash_xor_eq)] implied by #[deny(warnings)]
28 note: `PartialEq` implemented here
29 --> $DIR/derive.rs:30:1
31 30 | / impl PartialEq<Baz> for Baz {
32 31 | | fn eq(&self, _: &Baz) -> bool { true }
36 error: you are implementing `Hash` explicitly but have derived `PartialEq`
37 --> $DIR/derive.rs:37:1
39 37 | / impl Hash for Bah {
41 39 | | fn hash<H: Hasher>(&self, _: &mut H) {}
45 = note: #[deny(derive_hash_xor_eq)] implied by #[deny(warnings)]
46 note: `PartialEq` implemented here
47 --> $DIR/derive.rs:34:10
49 34 | #[derive(PartialEq)]
52 error: you are implementing `Clone` explicitly on a `Copy` type
53 --> $DIR/derive.rs:45:1
55 45 | / impl Clone for Qux {
57 47 | | fn clone(&self) -> Self { Qux }
61 = note: #[deny(expl_impl_clone_on_copy)] implied by #[deny(warnings)]
62 note: lint level defined here
63 --> $DIR/derive.rs:6:9
65 6 | #![deny(warnings)]
67 note: consider deriving `Clone` or removing `Copy`
68 --> $DIR/derive.rs:45:1
70 45 | / impl Clone for Qux {
72 47 | | fn clone(&self) -> Self { Qux }
76 error: you are implementing `Clone` explicitly on a `Copy` type
77 --> $DIR/derive.rs:70:1
79 70 | / impl<'a> Clone for Lt<'a> {
81 72 | | fn clone(&self) -> Self { unimplemented!() }
85 = note: #[deny(expl_impl_clone_on_copy)] implied by #[deny(warnings)]
86 note: consider deriving `Clone` or removing `Copy`
87 --> $DIR/derive.rs:70:1
89 70 | / impl<'a> Clone for Lt<'a> {
91 72 | | fn clone(&self) -> Self { unimplemented!() }
95 error: aborting due to 5 previous errors