Files
rust/tests/ui/consts/const_in_pattern
Kevin Reid 6000edd137 Add T: PartialEq bounds to derived StructuralPartialEq impls.
Fixes <https://github.com/rust-lang/rust/issues/147714>.

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 change in `compute_applicable_impls_for_diagnostics`
and its callers is entirely to be able to reuse that algorithm for this
purpose.
2026-05-25 16:24:10 -07:00
..