2023-07-24 12:05:10 -05:00
|
|
|
error: unexpected token: `!`
|
2023-07-23 23:55:47 -05:00
|
|
|
--> $DIR/macro-expand-to-field.rs:16:10
|
|
|
|
|
|
|
|
|
LL | field!(bar:u128),
|
2023-07-24 12:05:10 -05:00
|
|
|
| ^ unexpected token after this
|
2023-07-23 23:55:47 -05:00
|
|
|
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
|
2023-07-24 12:05:10 -05:00
|
|
|
error: unexpected token: `!`
|
2023-08-02 18:59:30 -05:00
|
|
|
--> $DIR/macro-expand-to-field.rs:22:10
|
2023-07-23 23:55:47 -05:00
|
|
|
|
|
2023-07-24 12:05:10 -05:00
|
|
|
LL | field!(recovers:()),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to struct fields
|
2023-07-23 23:55:47 -05:00
|
|
|
|
|
|
|
error: unexpected token: `!`
|
2023-08-02 18:59:30 -05:00
|
|
|
--> $DIR/macro-expand-to-field.rs:28:12
|
2023-07-23 23:55:47 -05:00
|
|
|
|
|
|
|
|
LL | variant!(whoops),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to enum variants
|
|
|
|
|
2023-07-24 12:05:10 -05:00
|
|
|
error: unexpected token: `!`
|
2023-08-02 18:59:30 -05:00
|
|
|
--> $DIR/macro-expand-to-field.rs:34:12
|
2023-07-24 12:05:10 -05:00
|
|
|
|
|
|
|
|
LL | variant!(recovers),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to enum variants
|
|
|
|
|
|
|
|
error: unexpected token: `!`
|
|
|
|
--> $DIR/macro-expand-to-field.rs:39:14
|
|
|
|
|
|
2023-08-02 18:59:30 -05:00
|
|
|
LL | field!(x:u32),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
|
|
|
|
error: unexpected token: `!`
|
|
|
|
--> $DIR/macro-expand-to-field.rs:48:14
|
|
|
|
|
|
2023-07-24 12:05:10 -05:00
|
|
|
LL | field!(oopsies:()),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
|
|
|
|
error: unexpected token: `!`
|
2023-08-02 18:59:30 -05:00
|
|
|
--> $DIR/macro-expand-to-field.rs:52:14
|
2023-07-24 12:05:10 -05:00
|
|
|
|
|
|
|
|
LL | field!(oopsies2:()),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
|
|
|
|
error: unexpected token: `!`
|
2023-08-02 18:59:30 -05:00
|
|
|
--> $DIR/macro-expand-to-field.rs:61:10
|
2023-07-24 12:05:10 -05:00
|
|
|
|
|
|
|
|
LL | field!(oopsies:()),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to union fields
|
|
|
|
|
|
|
|
error: unexpected token: `!`
|
2023-08-02 18:59:30 -05:00
|
|
|
--> $DIR/macro-expand-to-field.rs:66:10
|
2023-07-24 12:05:10 -05:00
|
|
|
|
|
|
|
|
LL | field!(recovers:()),
|
|
|
|
| ^ unexpected token after this
|
|
|
|
|
|
|
|
|
= note: macros cannot expand to union fields
|
|
|
|
|
2023-08-02 18:59:30 -05:00
|
|
|
error: aborting due to 9 previous errors
|
2023-07-23 23:55:47 -05:00
|
|
|
|