Merge pull request #1982 from zed-industries/fix-rust-analyzer

Update rust-analyzer's `disk_based_diagnostics_progress_token`
This commit is contained in:
Antonio Scandurra 2022-12-19 16:33:01 +01:00
parent 977a52c1d1
commit 91b06de4e6

View file

@ -93,7 +93,7 @@ impl LspAdapter for RustLspAdapter {
}
async fn disk_based_diagnostics_progress_token(&self) -> Option<String> {
Some("rust-analyzer/checkOnSave".into())
Some("rust-analyzer/flycheck".into())
}
async fn process_diagnostics(&self, params: &mut lsp::PublishDiagnosticsParams) {