|
| 1 | +error: suffixes on a tuple index are invalid |
| 2 | + --> $DIR/offset-of-tuple-field.rs:15:35 |
| 3 | + | |
| 4 | +LL | builtin # offset_of((u8, u8), 1_u8); |
| 5 | + | ^^^^ invalid suffix `u8` |
| 6 | + |
| 7 | +error: suffixes on a tuple index are invalid |
| 8 | + --> $DIR/offset-of-tuple-field.rs:9:26 |
| 9 | + | |
| 10 | +LL | offset_of!((u8, u8), 1_u8); |
| 11 | + | ^^^^ invalid suffix `u8` |
| 12 | + |
| 13 | +error[E0609]: no field `_0` on type `(u8, u8)` |
| 14 | + --> $DIR/offset-of-tuple-field.rs:6:26 |
| 15 | + | |
| 16 | +LL | offset_of!((u8, u8), _0); |
| 17 | + | ^^ |
| 18 | + |
| 19 | +error[E0609]: no field `01` on type `(u8, u8)` |
| 20 | + --> $DIR/offset-of-tuple-field.rs:7:26 |
| 21 | + | |
| 22 | +LL | offset_of!((u8, u8), 01); |
| 23 | + | ^^ |
| 24 | + |
| 25 | +error[E0609]: no field `1e2` on type `(u8, u8)` |
| 26 | + --> $DIR/offset-of-tuple-field.rs:8:26 |
| 27 | + | |
| 28 | +LL | offset_of!((u8, u8), 1e2); |
| 29 | + | ^^^ |
| 30 | + |
| 31 | +error[E0609]: no field `1_` on type `(u8, u8)` |
| 32 | + --> $DIR/offset-of-tuple-field.rs:9:26 |
| 33 | + | |
| 34 | +LL | offset_of!((u8, u8), 1_u8); |
| 35 | + | ^^^^ |
| 36 | + |
| 37 | +error[E0609]: no field `1e2` on type `(u8, u8)` |
| 38 | + --> $DIR/offset-of-tuple-field.rs:12:35 |
| 39 | + | |
| 40 | +LL | builtin # offset_of((u8, u8), 1e2); |
| 41 | + | ^^^ |
| 42 | + |
| 43 | +error[E0609]: no field `_0` on type `(u8, u8)` |
| 44 | + --> $DIR/offset-of-tuple-field.rs:13:35 |
| 45 | + | |
| 46 | +LL | builtin # offset_of((u8, u8), _0); |
| 47 | + | ^^ |
| 48 | + |
| 49 | +error[E0609]: no field `01` on type `(u8, u8)` |
| 50 | + --> $DIR/offset-of-tuple-field.rs:14:35 |
| 51 | + | |
| 52 | +LL | builtin # offset_of((u8, u8), 01); |
| 53 | + | ^^ |
| 54 | + |
| 55 | +error[E0609]: no field `1_` on type `(u8, u8)` |
| 56 | + --> $DIR/offset-of-tuple-field.rs:15:35 |
| 57 | + | |
| 58 | +LL | builtin # offset_of((u8, u8), 1_u8); |
| 59 | + | ^^^^ |
| 60 | + |
| 61 | +error[E0609]: no field `2` on type `(u8, u16)` |
| 62 | + --> $DIR/offset-of-tuple-field.rs:18:47 |
| 63 | + | |
| 64 | +LL | offset_of!(((u8, u16), (u32, u16, u8)), 0.2); |
| 65 | + | ^ |
| 66 | + |
| 67 | +error[E0609]: no field `1e2` on type `(u8, u16)` |
| 68 | + --> $DIR/offset-of-tuple-field.rs:19:47 |
| 69 | + | |
| 70 | +LL | offset_of!(((u8, u16), (u32, u16, u8)), 0.1e2); |
| 71 | + | ^^^ |
| 72 | + |
| 73 | +error[E0609]: no field `0` on type `u8` |
| 74 | + --> $DIR/offset-of-tuple-field.rs:21:49 |
| 75 | + | |
| 76 | +LL | offset_of!(((u8, u16), (u32, u16, u8)), 1.2.0); |
| 77 | + | ^ |
| 78 | + |
| 79 | +error: aborting due to 13 previous errors |
| 80 | + |
| 81 | +For more information about this error, try `rustc --explain E0609`. |
0 commit comments