-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.WG-diagnosticsWorking group: DiagnosticsWorking group: Diagnostics
Description
For the given code
struct Struct {
a: usize,
};
the output is only
error: expected item, found `;`
--> file.rs:15:2
|
15 | };
| ^
where it should suggest removing the semicolon (as a suggestion so the RLS does the right thing)
error: expected item, found `;`
--> file.rs:15:2
|
15 | };
| ^ consider removing this semicolon
This is an edge situation, but I feel it is a common enough typo I've made and that is very likely to happen to newcomers.
cuviper, leonardo-m, petrochenkov, est31 and 7 more
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.WG-diagnosticsWorking group: DiagnosticsWorking group: Diagnostics