mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
Clear cargo check
diagnostics when flycheck is turned off
This commit is contained in:
parent
7f226fc912
commit
3e356c1fd3
1 changed files with 1 additions and 0 deletions
|
@ -404,6 +404,7 @@ impl GlobalState {
|
|||
Some(it) => it,
|
||||
None => {
|
||||
self.flycheck = Vec::new();
|
||||
self.diagnostics.clear_check();
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue