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: `-D clippy::expl-impl-clone-on-copy` implied by `-D warnings`
12 note: consider deriving `Clone` or removing `Copy`
13 --> $DIR/derive.rs:8:1
15 LL | / impl Clone for Qux {
16 LL | | fn clone(&self) -> Self {
22 error: you are implementing `Clone` explicitly on a `Copy` type
23 --> $DIR/derive.rs:32: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:32: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:44: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:44: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:56: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:56:1
75 LL | / impl Clone for FnPtr {
76 LL | | fn clone(&self) -> Self {
77 LL | | unimplemented!()
82 error: aborting due to 4 previous errors