Skip to content

Fix wildcard_enum_match_arm suggests wrongly with raw identifiers #15093

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
Jun 21, 2025

Conversation

profetia
Copy link
Contributor

@profetia profetia commented Jun 21, 2025

Closes #15091

The lack of ability to escape raw identifiers is a known issue of Clippy. In this case, it can be avoided by snippet from the code.

changelog: [wildcard_enum_match_arm] fix wrong suggestions with raw identifiers

@rustbot
Copy link
Collaborator

rustbot commented Jun 21, 2025

r? @Alexendoo

rustbot has assigned @Alexendoo.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 21, 2025
@samueltardieu samueltardieu added this pull request to the merge queue Jun 21, 2025
@samueltardieu
Copy link
Contributor

Thanks

Merged via the queue into rust-lang:master with commit a421ffb Jun 21, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor does not create raw identifier when necessary
4 participants