blob: b1f8674fbdf386609c4c9c70e622286e96dd8ef1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error: expected identifier, found `String`
--> $DIR/issue-37113.rs:4:16
|
LL | enum SomeEnum {
| -------- while parsing this enum
LL | $( $t, )*
| ^^ expected identifier
...
LL | test_macro!(String,);
| -------------------- in this macro invocation
|
= note: this error originates in the macro `test_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
|