diff --git a/crates/zed/src/languages/rust.rs b/crates/zed/src/languages/rust.rs index ba51fda253..30971fef1a 100644 --- a/crates/zed/src/languages/rust.rs +++ b/crates/zed/src/languages/rust.rs @@ -93,7 +93,7 @@ impl LspAdapter for RustLspAdapter { } async fn disk_based_diagnostics_progress_token(&self) -> Option { - Some("rust-analyzer/checkOnSave".into()) + Some("rust-analyzer/flycheck".into()) } async fn process_diagnostics(&self, params: &mut lsp::PublishDiagnosticsParams) {