Invalid error message for a line missing semicolon #80446
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this error happen: Missing semicolon at the end of statement
Instead, these two errors happened:
Meta
I ran this on both stable and nightly. Here are the versions
Complete error
The text was updated successfully, but these errors were encountered: