Skip to content

Commit

Permalink
revision -> iteration for added_goals_evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Aug 14, 2023
1 parent 27e4877 commit 55a7f9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_middle/src/traits/solve/inspect/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ impl<'a, 'b> ProofTreeFormatter<'a, 'b> {
) -> std::fmt::Result {
writeln!(self.f, "TRY_EVALUATE_ADDED_GOALS: {:?}", added_goals_evaluation.result)?;

for (n, revision) in added_goals_evaluation.evaluations.iter().enumerate() {
writeln!(self.f, "REVISION {n}")?;
for (n, iterations) in added_goals_evaluation.evaluations.iter().enumerate() {
writeln!(self.f, "ITERATION {n}")?;
self.nested(|this| {
for goal_evaluation in revision {
for goal_evaluation in iterations {
this.format_goal_evaluation(goal_evaluation)?;
}
Ok(())
Expand Down

0 comments on commit 55a7f9f

Please sign in to comment.