suggest removing ; after derive attribute in case of error #93942
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-papercut
Diagnostics: An error or lint that needs small tweaks.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
The current output is:
Ideally the output should look like:
Rust could point at the semicolon (which causes the error) and suggest removing it in this case.
The text was updated successfully, but these errors were encountered: