Also passthrough for projection clauses
This commit is contained in:
parent
b0c1474381
commit
44040a0670
9 changed files with 15 additions and 18 deletions
|
@ -460,7 +460,9 @@ impl<'tcx> ProofTreeVisitor<'tcx> for BestObligation<'tcx> {
|
|||
polarity: ty::PredicatePolarity::Positive,
|
||||
}))
|
||||
}
|
||||
ty::PredicateKind::Clause(ty::ClauseKind::WellFormed(_))
|
||||
ty::PredicateKind::Clause(
|
||||
ty::ClauseKind::WellFormed(_) | ty::ClauseKind::Projection(..),
|
||||
)
|
||||
| ty::PredicateKind::AliasRelate(..) => ChildMode::PassThrough,
|
||||
_ => {
|
||||
return ControlFlow::Break(self.obligation.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue