Unnamed repository; edit this file 'description' to name the repository.
revert hir-def lib.rs
Hongxu Xu 2022-06-15
parent 8805a76 · commit 549c810
-rw-r--r--crates/hir-def/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
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<N: ItemTreeNode> Clone for AssocItemLoc<N> {
}
impl<N: ItemTreeNode> Copy for AssocItemLoc<N> {}
+
impl<N: ItemTreeNode> PartialEq for AssocItemLoc<N> {
fn eq(&self, other: &Self) -> bool {
self.container == other.container && self.id == other.id