mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Return a better error message for when we are waiting for cargo.
This commit is contained in:
parent
a8f1e41f0f
commit
dbd760010e
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ impl GlobalState {
|
|||
req.id,
|
||||
// FIXME: i32 should impl From<ErrorCode> (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(());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue