1
Fork 0

Refactor 'parse_enum_item' to use 'parse_delim_comma_seq'

This commit is contained in:
Janusz Marcinkiewicz 2019-11-24 22:33:00 +01:00
parent 7d761fe046
commit 5c34a11324
11 changed files with 127 additions and 95 deletions

View file

@ -2,7 +2,9 @@ error: expected one of `)` or `,`, found `(`
--> $DIR/test.rs:4:26
|
LL | struct S2(pub((foo)) ());
| ^ expected one of `)` or `,`
| -^ expected one of `)` or `,`
| |
| help: missing `,`
error[E0412]: cannot find type `foo` in this scope
--> $DIR/test.rs:4:20