fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unexpected end of macro invocation 2 --> $DIR/offset-of-arg-count.rs:6:34 3 | 4LL | offset_of!(NotEnoughArguments); 5 | ^ missing tokens in macro arguments 6 | 7note: while trying to match `,` 8 --> $SRC_DIR/core/src/mem/mod.rs:LL:COL 9 10error: unexpected end of macro invocation 11 --> $DIR/offset-of-arg-count.rs:7:45 12 | 13LL | offset_of!(NotEnoughArgumentsWithAComma, ); 14 | ^ missing tokens in macro arguments 15 | 16note: while trying to match meta-variable `$fields:tt` 17 --> $SRC_DIR/core/src/mem/mod.rs:LL:COL 18 19error: no rules expected the token `too` 20 --> $DIR/offset-of-arg-count.rs:8:34 21 | 22LL | offset_of!(Container, field, too many arguments); 23 | ^^^ no rules expected this token in macro call 24 | 25 = note: while trying to match sequence end 26 27error: unexpected end of macro invocation 28 --> $DIR/offset-of-arg-count.rs:11:21 29 | 30LL | offset_of!(S, f.); 31 | ^ missing tokens in macro arguments 32 | 33note: while trying to match meta-variable `$fields:tt` 34 --> $SRC_DIR/core/src/mem/mod.rs:LL:COL 35 36error: expected identifier, found `,` 37 --> $DIR/offset-of-arg-count.rs:12:21 38 | 39LL | offset_of!(S, f.,); 40 | ^ expected identifier 41 42error: no rules expected the token `..` 43 --> $DIR/offset-of-arg-count.rs:13:20 44 | 45LL | offset_of!(S, f..); 46 | ^^ no rules expected this token in macro call 47 | 48 = note: while trying to match sequence start 49 50error: no rules expected the token `..` 51 --> $DIR/offset-of-arg-count.rs:14:20 52 | 53LL | offset_of!(S, f..,); 54 | ^^ no rules expected this token in macro call 55 | 56 = note: while trying to match sequence start 57 58error: aborting due to 7 previous errors 59