Skip to content

Add T: StructuralPartialEq bounds to derived StructuralPartialEq impls#156809

Closed
Lars-Schumann wants to merge 1 commit into
rust-lang:mainfrom
Lars-Schumann:issue-147714
Closed

Add T: StructuralPartialEq bounds to derived StructuralPartialEq impls#156809
Lars-Schumann wants to merge 1 commit into
rust-lang:mainfrom
Lars-Schumann:issue-147714

Conversation

@Lars-Schumann
Copy link
Copy Markdown
Contributor

tries to fix #147714

The diagnostics are bad to wrong with this fix, suggesting additions that already exist. Would have to look into how to improve those.

Breaking fix so would require a crater run.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 21, 2026
@rust-log-analyzer

This comment has been minimized.

@theemathas
Copy link
Copy Markdown
Contributor

See #156807 (comment)

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Const patterns can have different behavior from PartialEq, due to incorrect bounds in derive(PartialEq)

4 participants