aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir/src/lib.rs')
-rw-r--r--crates/hir/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs
index d443b124c..21b1a8e4a 100644
--- a/crates/hir/src/lib.rs
+++ b/crates/hir/src/lib.rs
@@ -2223,8 +2223,8 @@ impl Type {
2223 walk_type(db, self, &mut cb); 2223 walk_type(db, self, &mut cb);
2224 } 2224 }
2225 2225
2226 pub fn could_unify_with(&self, other: &Type) -> bool { 2226 pub fn could_unify_with(&self, db: &dyn HirDatabase, other: &Type) -> bool {
2227 could_unify(&self.ty, &other.ty) 2227 could_unify(db, self.env.clone(), &self.ty, &other.ty)
2228 } 2228 }
2229} 2229}
2230 2230