Skip to content
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

Fix LSP show message macro to allow format args #15487

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Conversation

dhruvmanila
Copy link
Member

Summary

This PR fixes the show_*_msg macros to pass all the tokens instead of just a single token. This allows for using various expressions right in the macro similar to how it would be in format_args!.

Test Plan

cargo clippy

@dhruvmanila dhruvmanila added the internal An internal refactor or improvement label Jan 15, 2025
@dhruvmanila dhruvmanila enabled auto-merge (squash) January 15, 2025 08:07
@dhruvmanila dhruvmanila merged commit 6aef4ad into main Jan 15, 2025
20 checks passed
@dhruvmanila dhruvmanila deleted the dhruv/fix-macro branch January 15, 2025 08:11
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants