Skip to content

Commit 3a02514

Browse files
authored
Merge pull request #19294 from alibektas/better_build_script_err_msgs
minor: Show build scripts errors in server status
2 parents f81fcab + 93b1e78 commit 3a02514

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/rust-analyzer/src/reload.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ impl GlobalState {
142142
if self.fetch_build_data_error().is_err() {
143143
status.health |= lsp_ext::Health::Warning;
144144
message.push_str("Failed to run build scripts of some packages.\n\n");
145+
message.push_str("Please refer to the logs for more details on the errors.");
145146
}
146147
if let Some(err) = &self.config_errors {
147148
status.health |= lsp_ext::Health::Warning;

0 commit comments

Comments
 (0)