Files
rust/tests
Jonathan Brouwer b2043505bf Rollup merge of #156807 - kpreid:speq, r=petrochenkov
Add `T: PartialEq` bounds to derived `StructuralPartialEq` impls.

Fixes <https://github.com/rust-lang/rust/issues/147714>.

This is a breaking change to fix a bug, so it will need a crater run if it is to be done at all.

The changes in `const_to_pat.rs` are entirely to avoid regressing diagnostic quality, and should not make any difference to what code is accepted. The changes in `compute_applicable_impls_for_diagnostics` and its callers are entirely to be able to reuse that algorithm for this purpose.

@rustbot label +T-lang
2026-06-16 22:11:01 +02:00
..
2026-06-13 18:26:48 +02:00