fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
611 B16 linesraw
1error: expected identifier, found `String`
2  --> $DIR/issue-37113.rs:4:16
3   |
4LL |         enum SomeEnum {
5   |              -------- while parsing this enum
6LL |             $( $t, )*
7   |                ^^ expected identifier
8...
9LL |     test_macro!(String,);
10   |     -------------------- in this macro invocation
11   |
12   = help: enum variants can be `Variant`, `Variant = <integer>`, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }`
13   = note: this error originates in the macro `test_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
14
15error: aborting due to previous error
16