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