Add help suggestion for semicolon used inside struct declaration #101440
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: link
The current output is:
Ideally the output should suggest replacing the
;
with,
since a suggestion already exist for an incorrect semicolon usage at the end of the struct declaration (after the closing brace).The text was updated successfully, but these errors were encountered: