mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Remove this semicolon
This commit is contained in:
parent
e2e6b709e6
commit
cb66bb8ff9
5 changed files with 74 additions and 8 deletions
|
@ -131,6 +131,9 @@ pub(crate) fn diagnostics(
|
|||
.on::<hir::diagnostics::NoSuchField, _>(|d| {
|
||||
res.borrow_mut().push(diagnostic_with_fix(d, &sema));
|
||||
})
|
||||
.on::<hir::diagnostics::RemoveThisSemicolon, _>(|d| {
|
||||
res.borrow_mut().push(diagnostic_with_fix(d, &sema));
|
||||
})
|
||||
.on::<hir::diagnostics::IncorrectCase, _>(|d| {
|
||||
res.borrow_mut().push(warning_with_fix(d, &sema));
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue