aboutsummaryrefslogtreecommitdiff
path: root/crates/hir
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir')
-rw-r--r--crates/hir/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs
index 10b8171be..eb1cd66fb 100644
--- a/crates/hir/src/lib.rs
+++ b/crates/hir/src/lib.rs
@@ -1686,8 +1686,8 @@ impl Type {
1686 .build(); 1686 .build();
1687 let predicate = ProjectionPredicate { 1687 let predicate = ProjectionPredicate {
1688 projection_ty: ProjectionTy { 1688 projection_ty: ProjectionTy {
1689 associated_ty: to_assoc_type_id(alias.id), 1689 associated_ty_id: to_assoc_type_id(alias.id),
1690 parameters: subst, 1690 substitution: subst,
1691 }, 1691 },
1692 ty: TyKind::BoundVar(BoundVar::new(DebruijnIndex::INNERMOST, 0)).intern(&Interner), 1692 ty: TyKind::BoundVar(BoundVar::new(DebruijnIndex::INNERMOST, 0)).intern(&Interner),
1693 }; 1693 };
@@ -1979,7 +1979,7 @@ impl Type {
1979 walk_bounds(db, &type_.derived(ty.clone()), &bounds, cb); 1979 walk_bounds(db, &type_.derived(ty.clone()), &bounds, cb);
1980 } 1980 }
1981 1981
1982 walk_substs(db, type_, &opaque_ty.parameters, cb); 1982 walk_substs(db, type_, &opaque_ty.substitution, cb);
1983 } 1983 }
1984 TyKind::Placeholder(_) => { 1984 TyKind::Placeholder(_) => {
1985 if let Some(bounds) = ty.impl_trait_bounds(db) { 1985 if let Some(bounds) = ty.impl_trait_bounds(db) {