diff options
author | Florian Diebold <[email protected]> | 2021-03-14 15:26:12 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-03-14 15:30:43 +0000 |
commit | 3411fe3e84e641aad03abbc22eec33fdc29b15f8 (patch) | |
tree | f9590b609da68c1d466381b8de809f60511dd628 /crates/hir_ty/src/infer.rs | |
parent | f57e2f55984758a83644b852a4cc47e0b27945df (diff) |
Rename some fields to their Chalk names
Diffstat (limited to 'crates/hir_ty/src/infer.rs')
-rw-r--r-- | crates/hir_ty/src/infer.rs | 4 |
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)); |