Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_ty/src/infer/expr.rs')
| -rw-r--r-- | crates/hir_ty/src/infer/expr.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir_ty/src/infer/expr.rs b/crates/hir_ty/src/infer/expr.rs index fc88e97d6a..7426a22e6a 100644 --- a/crates/hir_ty/src/infer/expr.rs +++ b/crates/hir_ty/src/infer/expr.rs @@ -1129,10 +1129,11 @@ impl<'a> InferenceContext<'a> { arg, self, |this, type_ref| this.make_ty(type_ref), - |this, c| { + |this, c, ty| { const_or_path_to_chalk( this.db, &this.resolver, + ty, c, ParamLoweringMode::Placeholder, || generics(this.db.upcast(), (&this.resolver).generic_def().unwrap()), |