Clear cargo check diagnostics when flycheck is turned off
This commit is contained in:
@@ -404,6 +404,7 @@ impl GlobalState {
|
||||
Some(it) => it,
|
||||
None => {
|
||||
self.flycheck = Vec::new();
|
||||
self.diagnostics.clear_check();
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user