Skip to content

Use a more specific error message when talking about the server logs #20467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

SomeoneToIgnore
Copy link
Contributor

When rust-analyzer fails to run a flycheck, it might respond with a status update, something like

Language server rust-analyzer:

Failed to run build scripts of some packages.

Please refer to the logs for more details on the errors.

The problem is, those messages are shown in the editor's UI and editor's logs, so without specifying what kind of logs to see, it might be somewhat confusing for certain users.

Make it more explicit that the error is located in the language server logs.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 15, 2025
@Veykril Veykril enabled auto-merge August 15, 2025 17:32
@Veykril Veykril added this pull request to the merge queue Aug 15, 2025
Merged via the queue into rust-lang:master with commit e10fa93 Aug 15, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 15, 2025
@SomeoneToIgnore SomeoneToIgnore deleted the error-message branch August 15, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants