Assert that obligations are empty before deeply normalizing
This commit is contained in:
parent
abfa5c1dca
commit
398fd901d5
12 changed files with 37 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue