mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-01 07:48:45 +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,
|
Some(it) => it,
|
||||||
None => {
|
None => {
|
||||||
self.flycheck = Vec::new();
|
self.flycheck = Vec::new();
|
||||||
|
self.diagnostics.clear_check();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue