aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/infer.rs')
-rw-r--r--crates/hir_ty/src/infer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_ty/src/infer.rs b/crates/hir_ty/src/infer.rs
index 8cf59821f..fbfedb4e6 100644
--- a/crates/hir_ty/src/infer.rs
+++ b/crates/hir_ty/src/infer.rs
@@ -385,8 +385,8 @@ impl<'a> InferenceContext<'a> {
385 let projection = ProjectionPredicate { 385 let projection = ProjectionPredicate {
386 ty: ty.clone(), 386 ty: ty.clone(),
387 projection_ty: ProjectionTy { 387 projection_ty: ProjectionTy {
388 associated_ty: to_assoc_type_id(res_assoc_ty), 388 associated_ty_id: to_assoc_type_id(res_assoc_ty),
389 parameters: substs, 389 substitution: substs,
390 }, 390 },
391 }; 391 };
392 self.obligations.push(Obligation::Trait(trait_ref)); 392 self.obligations.push(Obligation::Trait(trait_ref));