Skip to content

Commit dbd7600

Browse files
author
Manuel Ceron
committed
Return a better error message for when we are waiting for cargo.
1 parent a8f1e41 commit dbd7600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ impl GlobalState {
484484
req.id,
485485
// FIXME: i32 should impl From<ErrorCode> (from() guarantees lossless conversion)
486486
lsp_server::ErrorCode::ContentModified as i32,
487-
"Rust Analyzer is still loading...".to_owned(),
487+
"waiting for cargo metadata or cargo check".to_owned(),
488488
));
489489
return Ok(());
490490
}

0 commit comments

Comments
 (0)