Always recurse on predicates in BestObligation
This commit is contained in:
parent
e7c0d27507
commit
50b8029ce1
1 changed files with 1 additions and 7 deletions
|
@ -465,13 +465,7 @@ impl<'tcx> ProofTreeVisitor<'tcx> for BestObligation<'tcx> {
|
||||||
polarity: ty::PredicatePolarity::Positive,
|
polarity: ty::PredicatePolarity::Positive,
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
ty::PredicateKind::Clause(
|
_ => ChildMode::PassThrough,
|
||||||
ty::ClauseKind::WellFormed(_) | ty::ClauseKind::Projection(..),
|
|
||||||
)
|
|
||||||
| ty::PredicateKind::AliasRelate(..) => ChildMode::PassThrough,
|
|
||||||
_ => {
|
|
||||||
return ControlFlow::Break(self.obligation.clone());
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut impl_where_bound_count = 0;
|
let mut impl_where_bound_count = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue