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 2cff701 commit e040967Copy full SHA for e040967
src/tools/rust-analyzer/crates/rust-analyzer/src/reload.rs
@@ -139,9 +139,10 @@ impl GlobalState {
139
"Proc-macros and/or build scripts have changed and need to be rebuilt.\n\n",
140
);
141
}
142
- if self.fetch_build_data_error().is_err() {
143
- status.health |= lsp_ext::Health::Warning;
+ if let Err(build_data_err) = self.fetch_build_data_error() {
+ status.health |= lsp_ext::Health::Error;
144
message.push_str("Failed to run build scripts of some packages.\n\n");
145
+ format_to!(message, "{build_data_err}\n");
146
147
if let Some(err) = &self.config_errors {
148
status.health |= lsp_ext::Health::Warning;
0 commit comments