aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/semantics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/semantics.rs')
-rw-r--r--crates/ra_hir/src/semantics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/semantics.rs b/crates/ra_hir/src/semantics.rs
index 6b6c5e494..4677eb561 100644
--- a/crates/ra_hir/src/semantics.rs
+++ b/crates/ra_hir/src/semantics.rs
@@ -375,7 +375,7 @@ impl<'db> SemanticsImpl<'db> {
375 } 375 }
376 376
377 pub fn type_of_expr(&self, expr: &ast::Expr) -> Option<Type> { 377 pub fn type_of_expr(&self, expr: &ast::Expr) -> Option<Type> {
378 self.analyze(expr.syntax()).type_of(self.db, &expr) 378 self.analyze(expr.syntax()).type_of_expr(self.db, &expr)
379 } 379 }
380 380
381 pub fn type_of_pat(&self, pat: &ast::Pat) -> Option<Type> { 381 pub fn type_of_pat(&self, pat: &ast::Pat) -> Option<Type> {