mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Clear all check diagnostics when the workspace changes
This commit is contained in:
parent
4a8eb8c229
commit
db8660410f
@ -715,6 +715,7 @@ impl GlobalState {
|
||||
error!("FetchWorkspaceError: {e}");
|
||||
}
|
||||
self.wants_to_switch = Some("fetched workspace".to_owned());
|
||||
self.diagnostics.clear_check_all();
|
||||
(Progress::End, None)
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user