remove StructuralEq trait
This commit is contained in:
parent
a58ec8ff03
commit
0df7810734
76 changed files with 273 additions and 536 deletions
|
@ -1347,9 +1347,9 @@ rustc_queries! {
|
|||
///
|
||||
/// This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types
|
||||
/// correctly.
|
||||
query has_structural_eq_impls(ty: Ty<'tcx>) -> bool {
|
||||
query has_structural_eq_impl(ty: Ty<'tcx>) -> bool {
|
||||
desc {
|
||||
"computing whether `{}` implements `PartialStructuralEq` and `StructuralEq`",
|
||||
"computing whether `{}` implements `StructuralPartialEq`",
|
||||
ty
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue