@@ -836,7 +836,10 @@ impl<T: ::core::hash::Hash + Trait, U: ::core::hash::Hash> ::core::hash::Hash
836836 }
837837}
838838#[automatically_derived]
839- impl<T: Trait, U> ::core::marker::StructuralPartialEq for Generic<T, U> { }
839+ impl<T: ::core::cmp::PartialEq + Trait, U: ::core::cmp::PartialEq>
840+ ::core::marker::StructuralPartialEq for Generic<T, U> where
841+ T::A: ::core::cmp::PartialEq {
842+ }
840843#[automatically_derived]
841844impl<T: ::core::cmp::PartialEq + Trait, U: ::core::cmp::PartialEq>
842845 ::core::cmp::PartialEq for Generic<T, U> where
@@ -953,8 +956,9 @@ impl<T: ::core::hash::Hash + ::core::marker::Copy + Trait,
953956 }
954957}
955958#[automatically_derived]
956- impl<T: Trait, U> ::core::marker::StructuralPartialEq for PackedGeneric<T, U>
957- {
959+ impl<T: ::core::cmp::PartialEq + Trait, U: ::core::cmp::PartialEq>
960+ ::core::marker::StructuralPartialEq for PackedGeneric<T, U> where
961+ T::A: ::core::cmp::PartialEq {
958962}
959963#[automatically_derived]
960964impl<T: ::core::cmp::PartialEq + ::core::marker::Copy + Trait,
@@ -1678,7 +1682,9 @@ impl<T: ::core::hash::Hash, U: ::core::hash::Hash> ::core::hash::Hash for
16781682 }
16791683}
16801684#[automatically_derived]
1681- impl<T, U> ::core::marker::StructuralPartialEq for EnumGeneric<T, U> { }
1685+ impl<T: ::core::cmp::PartialEq, U: ::core::cmp::PartialEq>
1686+ ::core::marker::StructuralPartialEq for EnumGeneric<T, U> {
1687+ }
16821688#[automatically_derived]
16831689impl<T: ::core::cmp::PartialEq, U: ::core::cmp::PartialEq>
16841690 ::core::cmp::PartialEq for EnumGeneric<T, U> {
0 commit comments