a missing path separator (: instead of ::) in enum match leads to confusing error #87086
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
A-patterns
Relating to patterns and pattern matching
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
On the playground (rustc 1.53), here's what I see:
It would be nice if rustc could say "hey it looks like you forgot a colon" here, similar to this case.
The text was updated successfully, but these errors were encountered: