]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/derive.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / derive.stderr
CommitLineData
f20569fa
XL
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:44: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:44: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:56: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:56:1
74 |
75LL | / impl Clone for FnPtr {
76LL | | fn clone(&self) -> Self {
77LL | | unimplemented!()
78LL | | }
79LL | | }
80 | |_^
81
82error: aborting due to 4 previous errors
83