]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error: field is never read: `f` |
2 | --> $DIR/write-only-field.rs:4:5 | |
3 | | | |
4 | LL | f: i32, | |
5 | | ^^^^^^ | |
6 | | | |
7 | note: the lint level is defined here | |
8 | --> $DIR/write-only-field.rs:1:9 | |
9 | | | |
10 | LL | #![deny(dead_code)] | |
11 | | ^^^^^^^^^ | |
12 | ||
13 | error: field is never read: `sub` | |
14 | --> $DIR/write-only-field.rs:5:5 | |
15 | | | |
16 | LL | sub: Sub, | |
17 | | ^^^^^^^^ | |
18 | ||
19 | error: field is never read: `f` | |
20 | --> $DIR/write-only-field.rs:9:5 | |
21 | | | |
22 | LL | f: i32, | |
23 | | ^^^^^^ | |
24 | ||
25 | error: field is never read: `y` | |
26 | --> $DIR/write-only-field.rs:28:9 | |
27 | | | |
28 | LL | y: bool, | |
29 | | ^^^^^^^ | |
30 | ||
31 | error: field is never read: `u` | |
32 | --> $DIR/write-only-field.rs:58:9 | |
33 | | | |
34 | LL | u: u32, | |
35 | | ^^^^^^ | |
36 | ||
37 | error: field is never read: `v` | |
38 | --> $DIR/write-only-field.rs:59:9 | |
39 | | | |
40 | LL | v: u32, | |
41 | | ^^^^^^ | |
42 | ||
43 | error: aborting due to 6 previous errors | |
44 |