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

Antonio Scandurra created

Update rust-analyzer's `disk_based_diagnostics_progress_token`

Change summary

crates/zed/src/languages/rust.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/zed/src/languages/rust.rs 🔗

@@ -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) {