Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix incorrect strip r# prefix from labels #6425

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

sobatha
Copy link
Contributor

@sobatha sobatha commented Dec 22, 2024

This PR fix #6411

This PR fixes an issue where rustfmt incorrectly removes the r# prefix in raw labels(introduced in 1.83 rust-lang/rust#126452), causing invalid label names like 'if instead of 'r#if.

Copy link
Contributor

@ytmimi ytmimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for helping to fix this issue!

@ytmimi ytmimi merged commit a43eef1 into rust-lang:master Dec 22, 2024
26 checks passed
@ytmimi ytmimi added release-notes Needs an associated changelog entry and removed pr-not-reviewed labels Dec 22, 2024
@ytmimi ytmimi removed the release-notes Needs an associated changelog entry label Jan 2, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrectly strips r# prefix from labels
3 participants