]> git.proxmox.com Git - rustc.git/blame - src/test/ui/derives/clone-debug-dead-code.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / derives / clone-debug-dead-code.stderr
CommitLineData
923072b8 1error: field `f` is never read
c295e0f8
XL
2 --> $DIR/clone-debug-dead-code.rs:6:12
3 |
4LL | struct A { f: () }
923072b8
FG
5 | - ^^^^^
6 | |
7 | field in this struct
c295e0f8
XL
8 |
9note: the lint level is defined here
10 --> $DIR/clone-debug-dead-code.rs:4:11
11 |
12LL | #![forbid(dead_code)]
13 | ^^^^^^^^^
14
923072b8 15error: field `f` is never read
c295e0f8
XL
16 --> $DIR/clone-debug-dead-code.rs:10:12
17 |
18LL | struct B { f: () }
923072b8
FG
19 | - ^^^^^
20 | |
21 | field in this struct
5099ac24 22 |
923072b8 23 = note: `B` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
c295e0f8 24
923072b8 25error: field `f` is never read
c295e0f8
XL
26 --> $DIR/clone-debug-dead-code.rs:14:12
27 |
28LL | struct C { f: () }
923072b8
FG
29 | - ^^^^^
30 | |
31 | field in this struct
5099ac24 32 |
923072b8 33 = note: `C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
c295e0f8 34
923072b8 35error: field `f` is never read
c295e0f8
XL
36 --> $DIR/clone-debug-dead-code.rs:18:12
37 |
38LL | struct D { f: () }
923072b8
FG
39 | - ^^^^^
40 | |
41 | field in this struct
5099ac24 42 |
923072b8 43 = note: `D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
c295e0f8 44
923072b8 45error: field `f` is never read
c295e0f8
XL
46 --> $DIR/clone-debug-dead-code.rs:21:12
47 |
48LL | struct E { f: () }
923072b8
FG
49 | - ^^^^^
50 | |
51 | field in this struct
c295e0f8
XL
52
53error: aborting due to 5 previous errors
54