E0499 error shouldn't suggest adding a semicolon when there already is one #133941
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Not have the help section since there already is a semicolon
Rationale and extra context
No response
Other cases
Rust Version
Tested on the Rust Playground with both stable 1.83.0 and 1.85.0-nightly 2024-12-04 acabb52 (sorry for the lack of the exact command you wanted, but see rust-lang/rust-playground#1043)
Anything else?
No response
The text was updated successfully, but these errors were encountered: