1
1
error: field `b` is never read
2
- --> $DIR/liveness- offset-of.rs:8:5
2
+ --> $DIR/offset-of.rs:8:5
3
3
|
4
4
LL | struct Alpha {
5
5
| ----- field in this struct
@@ -8,29 +8,29 @@ LL | b: (),
8
8
| ^
9
9
|
10
10
note: the lint level is defined here
11
- --> $DIR/liveness- offset-of.rs:2:9
11
+ --> $DIR/offset-of.rs:2:9
12
12
|
13
13
LL | #![deny(dead_code)]
14
14
| ^^^^^^^^^
15
15
16
16
error: field `a` is never read
17
- --> $DIR/liveness- offset-of.rs:13:5
17
+ --> $DIR/offset-of.rs:13:5
18
18
|
19
19
LL | struct Beta {
20
20
| ---- field in this struct
21
21
LL | a: (),
22
22
| ^
23
23
24
24
error: field `a` is never read
25
- --> $DIR/liveness- offset-of.rs:18:5
25
+ --> $DIR/offset-of.rs:18:5
26
26
|
27
27
LL | struct Gamma {
28
28
| ----- field in this struct
29
29
LL | a: (),
30
30
| ^
31
31
32
32
error: field `b` is never read
33
- --> $DIR/liveness- offset-of.rs:24:5
33
+ --> $DIR/offset-of.rs:24:5
34
34
|
35
35
LL | struct Delta {
36
36
| ----- field in this struct
@@ -39,7 +39,7 @@ LL | b: (),
39
39
| ^
40
40
41
41
error: field `a` is never read
42
- --> $DIR/liveness- offset-of.rs:35:5
42
+ --> $DIR/offset-of.rs:35:5
43
43
|
44
44
LL | struct Project<T: Trait> {
45
45
| ------- field in this struct
0 commit comments