Accidental triple colon diagnostics are worse than single colon diagnostics #130613
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
Current suggestion for
:::
is not correct, but the one for:
is, so the:::
version should be fixed.Other cases
Rust Version
1.83 on playground
Anything else?
No response
The text was updated successfully, but these errors were encountered: