@@ -16,38 +16,23 @@ error: field is never read: `f`
1616LL | struct B { f: () }
1717 | ^^^^^
1818 |
19- note: `B` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
20- --> $DIR/clone-debug-dead-code.rs:9:10
21- |
22- LL | #[derive(Clone)]
23- | ^^^^^
24- = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
19+ = note: `B` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
2520
2621error: field is never read: `f`
2722 --> $DIR/clone-debug-dead-code.rs:14:12
2823 |
2924LL | struct C { f: () }
3025 | ^^^^^
3126 |
32- note: `C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
33- --> $DIR/clone-debug-dead-code.rs:13:10
34- |
35- LL | #[derive(Debug)]
36- | ^^^^^
37- = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
27+ = note: `C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
3828
3929error: field is never read: `f`
4030 --> $DIR/clone-debug-dead-code.rs:18:12
4131 |
4232LL | struct D { f: () }
4333 | ^^^^^
4434 |
45- note: `D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
46- --> $DIR/clone-debug-dead-code.rs:17:10
47- |
48- LL | #[derive(Debug,Clone)]
49- | ^^^^^ ^^^^^
50- = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
35+ = note: `D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
5136
5237error: field is never read: `f`
5338 --> $DIR/clone-debug-dead-code.rs:21:12
0 commit comments