Skip to content

Conversation

@miyabinomuratic
Copy link
Contributor

In rust-analyzer, cargo.extraEnv has been a map since its introduction (rust-lang/rust-analyzer@c407cc5). The definition in lsp-mode hasn't matched since then, but the mismatch has been silently ignored. From rust-lang/rust-analyzer@46ce474, rust-analyzer started showing a warning message on configuration error which we are seeing.

With this change, the definition for cargo.extraEnv should match and the warning message is not displayed.

…lsp#4768)

In rust-analyzer, cargo.extraEnv has been a map since its
introduction (rust-lang/rust-analyzer@c407cc5). The definition in lsp-mode
hasn't matched since then, but the mismatch has been silently ignored. From
rust-lang/rust-analyzer@46ce474, rust-analyzer started showing a warning message
on configuration error which we are seeing.

With this change, the definition for cargo.extraEnv should match and the warning
message is not displayed.
@github-actions github-actions bot added rust client One or more of lsp-mode language clients labels May 17, 2025
@jcs090218 jcs090218 merged commit dc75f2a into emacs-lsp:master May 29, 2025
18 checks passed
@jcs090218
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client One or more of lsp-mode language clients rust

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants