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:21:1
16 21 | / impl PartialEq for Bar {
17 22 | | fn eq(&self, _: &Bar) -> bool { true }
21 error: you are deriving `Hash` but have implemented `PartialEq` explicitly
22 --> $DIR/derive.rs:25:10
27 = note: #[deny(derive_hash_xor_eq)] implied by #[deny(warnings)]
28 note: `PartialEq` implemented here
29 --> $DIR/derive.rs:28:1
31 28 | / impl PartialEq<Baz> for Baz {
32 29 | | fn eq(&self, _: &Baz) -> bool { true }
36 error: you are implementing `Hash` explicitly but have derived `PartialEq`
37 --> $DIR/derive.rs:35:1
39 35 | / impl Hash for Bah {
40 36 | | fn hash<H: Hasher>(&self, _: &mut H) {}
44 = note: #[deny(derive_hash_xor_eq)] implied by #[deny(warnings)]
45 note: `PartialEq` implemented here
46 --> $DIR/derive.rs:32:10
48 32 | #[derive(PartialEq)]
51 error: you are implementing `Clone` explicitly on a `Copy` type
52 --> $DIR/derive.rs:42:1
54 42 | / impl Clone for Qux {
55 43 | | fn clone(&self) -> Self { Qux }
59 = note: #[deny(expl_impl_clone_on_copy)] implied by #[deny(warnings)]
60 note: lint level defined here
61 --> $DIR/derive.rs:6:9
63 6 | #![deny(warnings)]
65 note: consider deriving `Clone` or removing `Copy`
66 --> $DIR/derive.rs:42:1
68 42 | / impl Clone for Qux {
69 43 | | fn clone(&self) -> Self { Qux }
73 error: you are implementing `Clone` explicitly on a `Copy` type
74 --> $DIR/derive.rs:66:1
76 66 | / impl<'a> Clone for Lt<'a> {
77 67 | | fn clone(&self) -> Self { unimplemented!() }
81 = note: #[deny(expl_impl_clone_on_copy)] implied by #[deny(warnings)]
82 note: consider deriving `Clone` or removing `Copy`
83 --> $DIR/derive.rs:66:1
85 66 | / impl<'a> Clone for Lt<'a> {
86 67 | | fn clone(&self) -> Self { unimplemented!() }
90 error: aborting due to 5 previous errors