proof trees: use for intercrate_ambiguity_causes

This commit is contained in:
lcnr
2023-09-20 21:41:07 +02:00
parent 4fda889bf8
commit de53877f8b
9 changed files with 818 additions and 282 deletions

View File

@@ -235,7 +235,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);
inspect::ProofTreeBuilder::add_goal(self, goal);
self.nested_goals.goals.push(goal);
}