Skip to content

Fix incorrect strip r# prefix from labels#6425

Merged
ytmimi merged 1 commit intorust-lang:masterfrom
sobatha:issue-6411
Dec 22, 2024
Merged

Fix incorrect strip r# prefix from labels#6425
ytmimi merged 1 commit intorust-lang:masterfrom
sobatha:issue-6411

Conversation

@sobatha
Copy link
Copy Markdown
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
Copy Markdown
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
@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
@calebcartwright calebcartwright added the release-notes Needs an associated changelog entry label Apr 13, 2025
@ytmimi ytmimi removed the release-notes Needs an associated changelog entry label Feb 26, 2026
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.

Incorrectly strips r# prefix from labels

4 participants