1 error: field `f` is never read
2 --> $DIR/clone-debug-dead-code.rs:6:12
4 LL | struct A { f: () }
9 note: the lint level is defined here
10 --> $DIR/clone-debug-dead-code.rs:4:11
12 LL | #![forbid(dead_code)]
15 error: field `f` is never read
16 --> $DIR/clone-debug-dead-code.rs:10:12
18 LL | struct B { f: () }
21 | field in this struct
23 = note: `B` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
25 error: field `f` is never read
26 --> $DIR/clone-debug-dead-code.rs:14:12
28 LL | struct C { f: () }
31 | field in this struct
33 = note: `C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
35 error: field `f` is never read
36 --> $DIR/clone-debug-dead-code.rs:18:12
38 LL | struct D { f: () }
41 | field in this struct
43 = note: `D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
45 error: field `f` is never read
46 --> $DIR/clone-debug-dead-code.rs:21:12
48 LL | struct E { f: () }
51 | field in this struct
53 error: aborting due to 5 previous errors