Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 3e356c1

Browse files
author
Jonas Schievink
committed
Clear cargo check diagnostics when flycheck is turned off
1 parent 7f226fc commit 3e356c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/rust-analyzer/src/reload.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ impl GlobalState {
404404
Some(it) => it,
405405
None => {
406406
self.flycheck = Vec::new();
407+
self.diagnostics.clear_check();
407408
return;
408409
}
409410
};

0 commit comments

Comments
 (0)