Skip to content

Commit 8463238

Browse files
authored
Merge pull request #19294 from alibektas/better_build_script_err_msgs
minor: Show build scripts errors in server status
2 parents 356f3f4 + 00fb741 commit 8463238

File tree

1 file changed

+1
-0
lines changed
  • src/tools/rust-analyzer/crates/rust-analyzer/src

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/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)