]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | error: field is never read: `c` |
0731742a | 2 | --> $DIR/union-fields-1.rs:6:5 |
ff7c6d11 | 3 | | |
532ac7d7 | 4 | LL | c: u8, |
ff7c6d11 XL |
5 | | ^^^^^ |
6 | | | |
7 | note: lint level defined here | |
0731742a | 8 | --> $DIR/union-fields-1.rs:1:9 |
ff7c6d11 | 9 | | |
0531ce1d | 10 | LL | #![deny(dead_code)] |
ff7c6d11 XL |
11 | | ^^^^^^^^^ |
12 | ||
60c5eb7d | 13 | error: field is never read: `a` |
0731742a | 14 | --> $DIR/union-fields-1.rs:9:5 |
ff7c6d11 | 15 | | |
532ac7d7 | 16 | LL | a: u8, |
ff7c6d11 XL |
17 | | ^^^^^ |
18 | ||
60c5eb7d | 19 | error: field is never read: `a` |
0731742a | 20 | --> $DIR/union-fields-1.rs:13:20 |
ff7c6d11 | 21 | | |
532ac7d7 | 22 | LL | union NoDropLike { a: u8 } |
ff7c6d11 XL |
23 | | ^^^^^ |
24 | ||
60c5eb7d | 25 | error: field is never read: `c` |
0731742a | 26 | --> $DIR/union-fields-1.rs:18:5 |
ff7c6d11 | 27 | | |
532ac7d7 | 28 | LL | c: u8, |
ff7c6d11 XL |
29 | | ^^^^^ |
30 | ||
31 | error: aborting due to 4 previous errors | |
32 |