We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e040967 commit 00fb741Copy full SHA for 00fb741
src/tools/rust-analyzer/crates/rust-analyzer/src/reload.rs
@@ -139,10 +139,10 @@ impl GlobalState {
139
"Proc-macros and/or build scripts have changed and need to be rebuilt.\n\n",
140
);
141
}
142
- if let Err(build_data_err) = self.fetch_build_data_error() {
143
- status.health |= lsp_ext::Health::Error;
+ if self.fetch_build_data_error().is_err() {
+ status.health |= lsp_ext::Health::Warning;
144
message.push_str("Failed to run build scripts of some packages.\n\n");
145
- format_to!(message, "{build_data_err}\n");
+ message.push_str("Please refer to the logs for more details on the errors.");
146
147
if let Some(err) = &self.config_errors {
148
status.health |= lsp_ext::Health::Warning;
0 commit comments