inspect: explicitly store added goals
This commit is contained in:
parent
a3f9530b30
commit
1b141b6d73
5 changed files with 21 additions and 1 deletions
|
@ -228,6 +228,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
|||
|
||||
#[instrument(level = "debug", skip(self))]
|
||||
fn add_goal(&mut self, goal: Goal<'tcx, ty::Predicate<'tcx>>) {
|
||||
self.inspect.add_goal(goal);
|
||||
self.nested_goals.goals.push(goal);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue