@@ -28,11 +28,7 @@ error[E0609]: no field `01` on type `(u8, u8)`
28
28
LL | offset_of!((u8, u8), 01);
29
29
| ^^
30
30
|
31
- help: a field with a similar name exists
32
- |
33
- LL - offset_of!((u8, u8), 01);
34
- LL + offset_of!((u8, u8), 0);
35
- |
31
+ = note: available fields are: `0`, `1`
36
32
37
33
error[E0609]: no field `1e2` on type `(u8, u8)`
38
34
--> $DIR/offset-of-tuple-field.rs:8:26
@@ -80,11 +76,7 @@ error[E0609]: no field `01` on type `(u8, u8)`
80
76
LL | builtin # offset_of((u8, u8), 01);
81
77
| ^^
82
78
|
83
- help: a field with a similar name exists
84
- |
85
- LL - builtin # offset_of((u8, u8), 01);
86
- LL + builtin # offset_of((u8, u8), 0);
87
- |
79
+ = note: available fields are: `0`, `1`
88
80
89
81
error[E0609]: no field `1_` on type `(u8, u8)`
90
82
--> $DIR/offset-of-tuple-field.rs:15:35
@@ -104,11 +96,7 @@ error[E0609]: no field `2` on type `(u8, u16)`
104
96
LL | offset_of!(((u8, u16), (u32, u16, u8)), 0.2);
105
97
| ^
106
98
|
107
- help: a field with a similar name exists
108
- |
109
- LL - offset_of!(((u8, u16), (u32, u16, u8)), 0.2);
110
- LL + offset_of!(((u8, u16), (u32, u16, u8)), 0.0);
111
- |
99
+ = note: available fields are: `0`, `1`
112
100
113
101
error[E0609]: no field `1e2` on type `(u8, u16)`
114
102
--> $DIR/offset-of-tuple-field.rs:19:47
0 commit comments