Closed
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.