@@ -28,11 +28,7 @@ error[E0609]: no field `01` on type `(u8, u8)`
2828LL | offset_of!((u8, u8), 01);
2929 | ^^
3030 |
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`
3632
3733error[E0609]: no field `1e2` on type `(u8, u8)`
3834 --> $DIR/offset-of-tuple-field.rs:8:26
@@ -80,11 +76,7 @@ error[E0609]: no field `01` on type `(u8, u8)`
8076LL | builtin # offset_of((u8, u8), 01);
8177 | ^^
8278 |
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`
8880
8981error[E0609]: no field `1_` on type `(u8, u8)`
9082 --> $DIR/offset-of-tuple-field.rs:15:35
@@ -104,11 +96,7 @@ error[E0609]: no field `2` on type `(u8, u16)`
10496LL | offset_of!(((u8, u16), (u32, u16, u8)), 0.2);
10597 | ^
10698 |
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`
112100
113101error[E0609]: no field `1e2` on type `(u8, u16)`
114102 --> $DIR/offset-of-tuple-field.rs:19:47
0 commit comments