Attributes following a missing trailing comma produce over-eager recovery #100461
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8a65ac81b182494a4856b59164bffbc2
Having an attribute after the field with missing
,
turns the error from this (which is good):To this, which contains unhelpful errors and possibly a huge number of them on a larger codebase:
The text was updated successfully, but these errors were encountered: