1error: you are implementing `Clone` explicitly on a `Copy` type
2  --> $DIR/derive.rs:8:1
3   |
4LL | / impl Clone for Qux {
5LL | |     fn clone(&self) -> Self {
6LL | |         Qux
7LL | |     }
8LL | | }
9   | |_^
10   |
11   = note: `-D clippy::expl-impl-clone-on-copy` implied by `-D warnings`
12note: consider deriving `Clone` or removing `Copy`
13  --> $DIR/derive.rs:8:1
14   |
15LL | / impl Clone for Qux {
16LL | |     fn clone(&self) -> Self {
17LL | |         Qux
18LL | |     }
19LL | | }
20   | |_^
21
22error: you are implementing `Clone` explicitly on a `Copy` type
23  --> $DIR/derive.rs:32:1
24   |
25LL | / impl<'a> Clone for Lt<'a> {
26LL | |     fn clone(&self) -> Self {
27LL | |         unimplemented!()
28LL | |     }
29LL | | }
30   | |_^
31   |
32note: consider deriving `Clone` or removing `Copy`
33  --> $DIR/derive.rs:32:1
34   |
35LL | / impl<'a> Clone for Lt<'a> {
36LL | |     fn clone(&self) -> Self {
37LL | |         unimplemented!()
38LL | |     }
39LL | | }
40   | |_^
41
42error: you are implementing `Clone` explicitly on a `Copy` type
43  --> $DIR/derive.rs:43:1
44   |
45LL | / impl Clone for BigArray {
46LL | |     fn clone(&self) -> Self {
47LL | |         unimplemented!()
48LL | |     }
49LL | | }
50   | |_^
51   |
52note: consider deriving `Clone` or removing `Copy`
53  --> $DIR/derive.rs:43:1
54   |
55LL | / impl Clone for BigArray {
56LL | |     fn clone(&self) -> Self {
57LL | |         unimplemented!()
58LL | |     }
59LL | | }
60   | |_^
61
62error: you are implementing `Clone` explicitly on a `Copy` type
63  --> $DIR/derive.rs:54:1
64   |
65LL | / impl Clone for FnPtr {
66LL | |     fn clone(&self) -> Self {
67LL | |         unimplemented!()
68LL | |     }
69LL | | }
70   | |_^
71   |
72note: consider deriving `Clone` or removing `Copy`
73  --> $DIR/derive.rs:54:1
74   |
75LL | / impl Clone for FnPtr {
76LL | |     fn clone(&self) -> Self {
77LL | |         unimplemented!()
78LL | |     }
79LL | | }
80   | |_^
81
82error: you are implementing `Clone` explicitly on a `Copy` type
83  --> $DIR/derive.rs:74:1
84   |
85LL | / impl<T: Clone> Clone for Generic2<T> {
86LL | |     fn clone(&self) -> Self {
87LL | |         Self(self.0.clone())
88LL | |     }
89LL | | }
90   | |_^
91   |
92note: consider deriving `Clone` or removing `Copy`
93  --> $DIR/derive.rs:74:1
94   |
95LL | / impl<T: Clone> Clone for Generic2<T> {
96LL | |     fn clone(&self) -> Self {
97LL | |         Self(self.0.clone())
98LL | |     }
99LL | | }
100   | |_^
101
102error: aborting due to 5 previous errors
103
104