mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-23 14:05:27 +00:00
21 lines
653 B
Plaintext
21 lines
653 B
Plaintext
error: expected one of `!`, `(`, `+`, `,`, `::`, or `<`, found `<eof>`
|
|
--> $DIR/offset-of-arg-count.rs:6:16
|
|
|
|
|
LL | offset_of!(NotEnoughArguments);
|
|
| ^^^^^^^^^^^^^^^^^^ expected one of `!`, `(`, `+`, `,`, `::`, or `<`
|
|
|
|
error: expected 2 arguments
|
|
--> $DIR/offset-of-arg-count.rs:7:5
|
|
|
|
|
LL | offset_of!(NotEnoughArgumentsWithAComma, );
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: expected 2 arguments
|
|
--> $DIR/offset-of-arg-count.rs:8:5
|
|
|
|
|
LL | offset_of!(Container, field, too many arguments);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|