Skip to content

Fix collapsible_match suggests wrongly for conditional compiled code#16942

Open
profetia wants to merge 1 commit intorust-lang:masterfrom
profetia:issue16916
Open

Fix collapsible_match suggests wrongly for conditional compiled code#16942
profetia wants to merge 1 commit intorust-lang:masterfrom
profetia:issue16916

Conversation

@profetia
Copy link
Copy Markdown
Member

@profetia profetia commented Apr 30, 2026

Closes #16916

The cause is the same as #15158 and the solution is similar.

changelog: [collapsible_match] fix wrong suggestions for conditional compiled code

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 30, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 30, 2026

r? @dswij

rustbot has assigned @dswij.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: 7 candidates
  • 7 candidates expanded to 7 candidates
  • Random selection from Jarcho, dswij, llogiq

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.

False positive for collapsible_match with cfg feature usage

3 participants