rust/tests/ui/parser/macro/issue-37113.stderr

17 lines
611 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected identifier, found `String`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-37113.rs:4:16
2018-10-20 15:36:17 -05:00
|
LL | enum SomeEnum {
| -------- while parsing this enum
2019-03-09 06:03:44 -06:00
LL | $( $t, )*
2018-10-20 15:36:17 -05:00
| ^^ expected identifier
...
LL | test_macro!(String,);
2021-10-14 13:28:28 -05:00
| -------------------- in this macro invocation
|
= help: enum variants can be `Variant`, `Variant = <integer>`, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }`
= note: this error originates in the macro `test_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-10-20 15:36:17 -05:00
error: aborting due to previous error