Skip to content

Add T: StructuralPartialEq bounds to derived StructuralPartialEq impls#156809

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

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

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