diff options
Diffstat (limited to 'crates/hir_ty/src/infer')
-rw-r--r-- | crates/hir_ty/src/infer/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/infer/expr.rs b/crates/hir_ty/src/infer/expr.rs index c0cbe19c1..97507305c 100644 --- a/crates/hir_ty/src/infer/expr.rs +++ b/crates/hir_ty/src/infer/expr.rs | |||
@@ -804,7 +804,7 @@ impl<'a> InferenceContext<'a> { | |||
804 | None => self.table.new_float_var(), | 804 | None => self.table.new_float_var(), |
805 | }, | 805 | }, |
806 | }, | 806 | }, |
807 | Expr::MacroStmts { tail } => self.infer_expr(*tail, expected), | 807 | Expr::MacroStmts { tail } => self.infer_expr_inner(*tail, expected), |
808 | }; | 808 | }; |
809 | // use a new type variable if we got unknown here | 809 | // use a new type variable if we got unknown here |
810 | let ty = self.insert_type_vars_shallow(ty); | 810 | let ty = self.insert_type_vars_shallow(ty); |