From dbd760010e3ca7c0ba239b0ae88a5729b93ae7d8 Mon Sep 17 00:00:00 2001 From: Manuel Ceron Date: Wed, 7 Apr 2021 13:25:49 +0200 Subject: Return a better error message for when we are waiting for cargo. --- crates/rust-analyzer/src/main_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index a5655116b..47c6c6d77 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs @@ -484,7 +484,7 @@ impl GlobalState { req.id, // FIXME: i32 should impl From (from() guarantees lossless conversion) lsp_server::ErrorCode::ContentModified as i32, - "Rust Analyzer is still loading...".to_owned(), + "waiting for cargo metadata or cargo check".to_owned(), )); return Ok(()); } -- cgit v1.2.3