1
Fork 0

Assert that obligations are empty before deeply normalizing

This commit is contained in:
Michael Goulet 2024-11-27 21:27:37 +00:00
parent abfa5c1dca
commit 398fd901d5
12 changed files with 37 additions and 25 deletions

View file

@ -84,6 +84,8 @@ pub trait TraitEngine<'tcx, E: 'tcx>: 'tcx {
self.collect_remaining_errors(infcx)
}
fn has_pending_obligations(&self) -> bool;
fn pending_obligations(&self) -> PredicateObligations<'tcx>;
/// Among all pending obligations, collect those are stalled on a inference variable which has