diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-05 11:07:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 11:07:25 +0100 |
| commit | fd8ea258824020fd97b971caec8e2b9d232d8092 (patch) | |
| tree | e68c5707300740742e62f7b33bae4b8c0b3e1f9e /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | 13e84f2a3d5af38e835f1d1cb3b2ee76fd6e7427 (diff) | |
| parent | 61d1ebe50be6343a3d5ee22db486163ff47e9ff1 (diff) | |
| download | rust-fd8ea258824020fd97b971caec8e2b9d232d8092.tar.gz rust-fd8ea258824020fd97b971caec8e2b9d232d8092.zip | |
Rollup merge of #115386 - RalfJung:partial-eq-chain, r=dtolnay
PartialEq, PartialOrd: update and synchronize handling of transitive chains It was brought up in https://internals.rust-lang.org/t/total-equality-relations-as-std-eq-rhs/19232 that we currently have a gap in our `PartialEq` rules, which this PR aims to close: > For example, with PartialEq's conditions you may have a = b = c = d ≠ a (where a and c are of type A, b and d are of type B). The second commit fixes https://github.com/rust-lang/rust/issues/87067 by updating PartialOrd to handle the requirements the same way PartialEq does.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
