mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 14:34:58 +00:00
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
error: unexpected token: `!`
|
|
--> $DIR/macro-expand-to-field.rs:16:10
|
|
|
|
|
LL | field!(bar:u128),
|
|
| ^ unexpected token after this
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
error: unexpected token: `!`
|
|
--> $DIR/macro-expand-to-field.rs:21:10
|
|
|
|
|
LL | field!(recovers:()),
|
|
| ^ unexpected token after this
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
error: unexpected token: `!`
|
|
--> $DIR/macro-expand-to-field.rs:27:12
|
|
|
|
|
LL | variant!(whoops),
|
|
| ^ unexpected token after this
|
|
|
|
|
= note: macros cannot expand to enum variants
|
|
|
|
error: unexpected token: `!`
|
|
--> $DIR/macro-expand-to-field.rs:32:12
|
|
|
|
|
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
|
|
|
|
|
LL | field!(oopsies:()),
|
|
| ^ unexpected token after this
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
error: unexpected token: `!`
|
|
--> $DIR/macro-expand-to-field.rs:42:14
|
|
|
|
|
LL | field!(oopsies2:()),
|
|
| ^ unexpected token after this
|
|
|
|
|
= note: macros cannot expand to struct fields
|
|
|
|
error: unexpected token: `!`
|
|
--> $DIR/macro-expand-to-field.rs:50:10
|
|
|
|
|
LL | field!(oopsies:()),
|
|
| ^ unexpected token after this
|
|
|
|
|
= note: macros cannot expand to union fields
|
|
|
|
error: unexpected token: `!`
|
|
--> $DIR/macro-expand-to-field.rs:54:10
|
|
|
|
|
LL | field!(recovers:()),
|
|
| ^ unexpected token after this
|
|
|
|
|
= note: macros cannot expand to union fields
|
|
|
|
error: aborting due to 8 previous errors
|
|
|