aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/lower.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/ty/lower.rs')
-rw-r--r--crates/ra_hir/src/ty/lower.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/lower.rs b/crates/ra_hir/src/ty/lower.rs
index d7d4bb0d6..485871e69 100644
--- a/crates/ra_hir/src/ty/lower.rs
+++ b/crates/ra_hir/src/ty/lower.rs
@@ -762,7 +762,7 @@ fn type_for_adt(db: &impl HirDatabase, adt: impl Into<Adt>) -> Ty {
762 let adt = adt.into(); 762 let adt = adt.into();
763 let adt_id: AdtId = adt.into(); 763 let adt_id: AdtId = adt.into();
764 let generics = db.generic_params(adt_id.into()); 764 let generics = db.generic_params(adt_id.into());
765 Ty::apply(TypeCtor::Adt(adt), Substs::identity(&generics)) 765 Ty::apply(TypeCtor::Adt(adt_id), Substs::identity(&generics))
766} 766}
767 767
768fn type_for_type_alias(db: &impl HirDatabase, t: TypeAlias) -> Ty { 768fn type_for_type_alias(db: &impl HirDatabase, t: TypeAlias) -> Ty {