Gracefully handle missing comma between struct style enum variants #56579
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
The following code should gracefully recover from parse error, provide an appropriate suggestion and continue to typechk:
If this could be generalized to all "unexpected token" cases, even better, but that might get tricky.
CC #48724.
The text was updated successfully, but these errors were encountered: