Skip to content

Fix single_match suggests wrongly for bool comparisons#16880

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

Fix single_match suggests wrongly for bool comparisons#16880
profetia wants to merge 1 commit intorust-lang:masterfrom
profetia:issue16826

Conversation

@profetia
Copy link
Copy Markdown
Member

@profetia profetia commented Apr 17, 2026

Closes #16826

changelog: [single_match] fix wrong suggestions for bool comparisons

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

rustbot commented Apr 17, 2026

r? @llogiq

rustbot has assigned @llogiq.
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, samueltardieu

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.

Single match produces non compiling code when matching the result of an expression with true

3 participants