11error: field `b` is never read
2- --> $DIR/liveness- offset-of.rs:8:5
2+ --> $DIR/offset-of.rs:8:5
33 |
44LL | struct Alpha {
55 | ----- field in this struct
@@ -8,29 +8,29 @@ LL | b: (),
88 | ^
99 |
1010note: the lint level is defined here
11- --> $DIR/liveness- offset-of.rs:2:9
11+ --> $DIR/offset-of.rs:2:9
1212 |
1313LL | #![deny(dead_code)]
1414 | ^^^^^^^^^
1515
1616error: field `a` is never read
17- --> $DIR/liveness- offset-of.rs:13:5
17+ --> $DIR/offset-of.rs:13:5
1818 |
1919LL | struct Beta {
2020 | ---- field in this struct
2121LL | a: (),
2222 | ^
2323
2424error: field `a` is never read
25- --> $DIR/liveness- offset-of.rs:18:5
25+ --> $DIR/offset-of.rs:18:5
2626 |
2727LL | struct Gamma {
2828 | ----- field in this struct
2929LL | a: (),
3030 | ^
3131
3232error: field `b` is never read
33- --> $DIR/liveness- offset-of.rs:24:5
33+ --> $DIR/offset-of.rs:24:5
3434 |
3535LL | struct Delta {
3636 | ----- field in this struct
@@ -39,7 +39,7 @@ LL | b: (),
3939 | ^
4040
4141error: field `a` is never read
42- --> $DIR/liveness- offset-of.rs:35:5
42+ --> $DIR/offset-of.rs:35:5
4343 |
4444LL | struct Project<T: Trait> {
4545 | ------- field in this struct
0 commit comments