We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76fd010 commit 72c573eCopy full SHA for 72c573e
chalk-integration/src/lowering/program_lowerer.rs
@@ -400,12 +400,19 @@ impl ProgramLowerer {
400
.collect())
401
},
402
)?;
403
+
404
let where_clauses = env.in_binders(
405
Some(chalk_ir::WithKind::new(
406
chalk_ir::VariableKind::Ty(TyVariableKind::General),
407
Atom::from(FIXME_SELF),
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
+ },
416
417
418
Ok(OpaqueTyDatumBound {
0 commit comments