1 error: you are implementing `Clone` explicitly on a `Copy` type
4 LL | / impl Clone for Qux {
5 LL | | fn clone(&self) -> Self {
11 note: consider deriving `Clone` or removing `Copy`
12 --> $DIR/derive.rs:7:1
14 LL | / impl Clone for Qux {
15 LL | | fn clone(&self) -> Self {
20 = note: `-D clippy::expl-impl-clone-on-copy` implied by `-D warnings`
22 error: you are implementing `Clone` explicitly on a `Copy` type
23 --> $DIR/derive.rs:31:1
25 LL | / impl<'a> Clone for Lt<'a> {
26 LL | | fn clone(&self) -> Self {
27 LL | | unimplemented!()
32 note: consider deriving `Clone` or removing `Copy`
33 --> $DIR/derive.rs:31:1
35 LL | / impl<'a> Clone for Lt<'a> {
36 LL | | fn clone(&self) -> Self {
37 LL | | unimplemented!()
42 error: you are implementing `Clone` explicitly on a `Copy` type
43 --> $DIR/derive.rs:42:1
45 LL | / impl Clone for BigArray {
46 LL | | fn clone(&self) -> Self {
47 LL | | unimplemented!()
52 note: consider deriving `Clone` or removing `Copy`
53 --> $DIR/derive.rs:42:1
55 LL | / impl Clone for BigArray {
56 LL | | fn clone(&self) -> Self {
57 LL | | unimplemented!()
62 error: you are implementing `Clone` explicitly on a `Copy` type
63 --> $DIR/derive.rs:53:1
65 LL | / impl Clone for FnPtr {
66 LL | | fn clone(&self) -> Self {
67 LL | | unimplemented!()
72 note: consider deriving `Clone` or removing `Copy`
73 --> $DIR/derive.rs:53:1
75 LL | / impl Clone for FnPtr {
76 LL | | fn clone(&self) -> Self {
77 LL | | unimplemented!()
82 error: you are implementing `Clone` explicitly on a `Copy` type
83 --> $DIR/derive.rs:73:1
85 LL | / impl<T: Clone> Clone for Generic2<T> {
86 LL | | fn clone(&self) -> Self {
87 LL | | Self(self.0.clone())
92 note: consider deriving `Clone` or removing `Copy`
93 --> $DIR/derive.rs:73:1
95 LL | / impl<T: Clone> Clone for Generic2<T> {
96 LL | | fn clone(&self) -> Self {
97 LL | | Self(self.0.clone())
102 error: aborting due to 5 previous errors