Return a better error message for when we are waiting for cargo.
This commit is contained in:
@@ -484,7 +484,7 @@ impl GlobalState {
|
|||||||
req.id,
|
req.id,
|
||||||
// FIXME: i32 should impl From<ErrorCode> (from() guarantees lossless conversion)
|
// FIXME: i32 should impl From<ErrorCode> (from() guarantees lossless conversion)
|
||||||
lsp_server::ErrorCode::ContentModified as i32,
|
lsp_server::ErrorCode::ContentModified as i32,
|
||||||
"Rust Analyzer is still loading...".to_owned(),
|
"waiting for cargo metadata or cargo check".to_owned(),
|
||||||
));
|
));
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user