rust/src/test/ui/parser/issue-10392.stderr
Esteban Küber 6cd6759cfc Do not complain about unmentioned fields in recovered patterns
When the parser has to recover from malformed code in a pattern, do not
complain about missing fields.
2019-03-14 18:28:24 -07:00

9 lines
181 B
Plaintext

error: expected identifier, found `,`
--> $DIR/issue-10392.rs:6:13
|
LL | let A { , } = a();
| ^ expected identifier
error: aborting due to previous error