Extra semicolon in use candidate suggestion #106954
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
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.
The span for the new
use
suggestion (added in #102876) does not include the semicolon, but the suggestion includes a semicolon.Example:
Suggests:
which if applied results in:
which won't compile due to the extra semicolon.
I'm not sure if the span needs to be extended, or if the suggestion should just avoid adding the semicolon.
The text was updated successfully, but these errors were encountered: