diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-13 21:45:30 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-13 21:45:30 +0000 |
commit | f80e1080d3457a7932995d770658827a4dbc1f47 (patch) | |
tree | 2d70ac00f2228623ac012576bd881df3edc1c077 /crates/hir_ty/src/traits/chalk.rs | |
parent | d3ca2ab959af672e779757dbcab755b61a4ec091 (diff) | |
parent | 3743ede404d38586db9d7febca14b8bebcbbe0ef (diff) |
Merge #8003
8003: Move type lowering methods to TyLoweringContext r=flodiebold a=flodiebold
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/traits/chalk.rs')
-rw-r--r-- | crates/hir_ty/src/traits/chalk.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/traits/chalk.rs b/crates/hir_ty/src/traits/chalk.rs index 1f3e1c07a..ef1e6b2df 100644 --- a/crates/hir_ty/src/traits/chalk.rs +++ b/crates/hir_ty/src/traits/chalk.rs | |||
@@ -401,7 +401,7 @@ pub(crate) fn associated_ty_data_query( | |||
401 | let bounds = type_alias_data | 401 | let bounds = type_alias_data |
402 | .bounds | 402 | .bounds |
403 | .iter() | 403 | .iter() |
404 | .flat_map(|bound| GenericPredicate::from_type_bound(&ctx, bound, self_ty.clone())) | 404 | .flat_map(|bound| ctx.lower_type_bound(bound, self_ty.clone())) |
405 | .filter_map(|pred| generic_predicate_to_inline_bound(db, &pred, &self_ty)) | 405 | .filter_map(|pred| generic_predicate_to_inline_bound(db, &pred, &self_ty)) |
406 | .map(|bound| make_binders(bound.shifted_in(&Interner), 0)) | 406 | .map(|bound| make_binders(bound.shifted_in(&Interner), 0)) |
407 | .collect(); | 407 | .collect(); |