Skip to content

Commit 72c573e

Browse files
committed
Finish lowering conversions
1 parent 76fd010 commit 72c573e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

chalk-integration/src/lowering/program_lowerer.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,19 @@ impl ProgramLowerer {
400400
.collect())
401401
},
402402
)?;
403+
403404
let where_clauses = env.in_binders(
404405
Some(chalk_ir::WithKind::new(
405406
chalk_ir::VariableKind::Ty(TyVariableKind::General),
406407
Atom::from(FIXME_SELF),
407408
)),
408-
|env| opaque_ty.where_clauses.lower(env),
409+
|env| {
410+
Ok(opaque_ty
411+
.where_clauses
412+
.lower(env)?
413+
.into_iter()
414+
.collect::<Vec<_>>())
415+
},
409416
)?;
410417

411418
Ok(OpaqueTyDatumBound {

0 commit comments

Comments
 (0)