aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer/expr.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2020-12-11 12:49:32 +0000
committerLukas Wirth <[email protected]>2020-12-11 23:56:52 +0000
commit11f86641829273e2b2b7023c2028bb475fce58ee (patch)
tree8633b96c3f812412ea6c19acb1b6a770292d4697 /crates/hir_ty/src/infer/expr.rs
parent41321d96789ed918eebda02ada76758765d19d16 (diff)
Add Lifetimes to the HIR
Diffstat (limited to 'crates/hir_ty/src/infer/expr.rs')
-rw-r--r--crates/hir_ty/src/infer/expr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_ty/src/infer/expr.rs b/crates/hir_ty/src/infer/expr.rs
index 605951b10..a89fff773 100644
--- a/crates/hir_ty/src/infer/expr.rs
+++ b/crates/hir_ty/src/infer/expr.rs
@@ -848,6 +848,7 @@ impl<'a> InferenceContext<'a> {
848 let ty = self.make_ty(type_ref); 848 let ty = self.make_ty(type_ref);
849 substs.push(ty); 849 substs.push(ty);
850 } 850 }
851 GenericArg::Lifetime(_) => {}
851 } 852 }
852 } 853 }
853 }; 854 };