We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25635ad commit 235c909Copy full SHA for 235c909
crates/rust-analyzer/tests/slow-tests/support.rs
@@ -255,8 +255,8 @@ impl Server {
255
.clone()
256
.extract::<lsp_ext::ServerStatusParams>("experimental/serverStatus")
257
.unwrap();
258
- if status.health == lsp_ext::Health::Error {
259
- panic!("server errored while loading workspace: {:?}", status.message);
+ if status.health != lsp_ext::Health::Ok {
+ panic!("server errored/warned while loading workspace: {:?}", status.message);
260
}
261
status.quiescent
262
0 commit comments