Skip to content

Conversation

@ada4a
Copy link
Contributor

@ada4a ada4a commented Nov 14, 2025

Supersedes #15482

I wasn't able to get is_const_method to work, so for now we just don't suggest = in const context.

changelog: [equatable_if_let]: don't suggest = in const context

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 14, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 14, 2025

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

Copy link
Member

@dswij dswij left a comment

Choose a reason for hiding this comment

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

@dswij dswij added this pull request to the merge queue Nov 17, 2025
Merged via the queue into rust-lang:master with commit abc17b3 Nov 17, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 17, 2025
@ada4a ada4a deleted the 15376-equatable-if-let-simple branch November 17, 2025 16:38
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.

3 participants