diff --git a/crates/hir-def/src/lib.rs b/crates/hir-def/src/lib.rs index 071cf7be60..4431d1b3c8 100644 --- a/crates/hir-def/src/lib.rs +++ b/crates/hir-def/src/lib.rs @@ -169,6 +169,7 @@ impl Clone for AssocItemLoc { } impl Copy for AssocItemLoc {} + impl PartialEq for AssocItemLoc { fn eq(&self, other: &Self) -> bool { self.container == other.container && self.id == other.id