Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #20467 from SomeoneToIgnore/error-message
Use a more specific error message when talking about the server logs
Lukas Wirth 8 months ago
parent a6b199c · parent 11917cd · commit e10fa93
-rw-r--r--crates/rust-analyzer/src/reload.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/reload.rs b/crates/rust-analyzer/src/reload.rs
index f8f29eee12..a8a54930c6 100644
--- a/crates/rust-analyzer/src/reload.rs
+++ b/crates/rust-analyzer/src/reload.rs
@@ -152,7 +152,9 @@ impl GlobalState {
if self.fetch_build_data_error().is_err() {
status.health |= lsp_ext::Health::Warning;
message.push_str("Failed to run build scripts of some packages.\n\n");
- message.push_str("Please refer to the logs for more details on the errors.");
+ message.push_str(
+ "Please refer to the language server logs for more details on the errors.",
+ );
}
if let Some(err) = &self.config_errors {
status.health |= lsp_ext::Health::Warning;