Handle Foo { a: usize, b: usize }
used as Foo(1, 2)
gracefully
#61326
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the code
rust/src/test/ui/parser/recover-from-bad-variant.rs
Lines 1 to 14 in 3592079
we emit
rust/src/test/ui/parser/recover-from-bad-variant.stderr
Lines 1 to 21 in 3592079
We should emit something closer to
The text was updated successfully, but these errors were encountered: