@@ -20,7 +20,7 @@ use crate::coherence;
20
20
use crate :: delegate:: SolverDelegate ;
21
21
use crate :: placeholder:: BoundVarReplacer ;
22
22
use crate :: resolve:: eager_resolve_vars;
23
- use crate :: solve:: inspect:: { self , ProofTreeBuilder } ;
23
+ use crate :: solve:: inspect:: { self , GoalEvaluationBuilder } ;
24
24
use crate :: solve:: search_graph:: SearchGraph ;
25
25
use crate :: solve:: ty:: may_use_unstable_feature;
26
26
use crate :: solve:: {
@@ -129,7 +129,7 @@ where
129
129
// evaluation code.
130
130
tainted : Result < ( ) , NoSolution > ,
131
131
132
- pub ( super ) inspect : ProofTreeBuilder < D > ,
132
+ pub ( super ) inspect : inspect :: EvaluationStepBuilder < D > ,
133
133
}
134
134
135
135
#[ derive( PartialEq , Eq , Debug , Hash , Clone , Copy ) ]
@@ -292,7 +292,7 @@ where
292
292
delegate,
293
293
search_graph : & mut search_graph,
294
294
nested_goals : Default :: default ( ) ,
295
- inspect : ProofTreeBuilder :: new_noop ( ) ,
295
+ inspect : inspect :: EvaluationStepBuilder :: new_noop ( ) ,
296
296
297
297
// Only relevant when canonicalizing the response,
298
298
// which we don't do within this evaluation context.
@@ -324,7 +324,7 @@ where
324
324
cx : I ,
325
325
search_graph : & ' a mut SearchGraph < D > ,
326
326
canonical_input : CanonicalInput < I > ,
327
- canonical_goal_evaluation : & mut ProofTreeBuilder < D > ,
327
+ canonical_goal_evaluation : & mut GoalEvaluationBuilder < D > ,
328
328
f : impl FnOnce ( & mut EvalCtxt < ' _ , D > , Goal < I , I :: Predicate > ) -> R ,
329
329
) -> R {
330
330
let ( ref delegate, input, var_values) = D :: build_with_canonical ( cx, & canonical_input) ;
@@ -439,7 +439,7 @@ where
439
439
self . cx ( ) ,
440
440
canonical_goal,
441
441
self . step_kind_for_source ( source) ,
442
- & mut ProofTreeBuilder :: new_noop ( ) ,
442
+ & mut GoalEvaluationBuilder :: new_noop ( ) ,
443
443
) ;
444
444
let response = match canonical_result {
445
445
Err ( e) => return Err ( e) ,
@@ -523,7 +523,7 @@ where
523
523
let ( goal, opaque_types) = eager_resolve_vars ( self . delegate , ( goal, opaque_types) ) ;
524
524
525
525
let ( orig_values, canonical_goal) = self . canonicalize_goal ( goal, opaque_types) ;
526
- let mut goal_evaluation = ProofTreeBuilder :: new_goal_evaluation ( goal, & orig_values) ;
526
+ let mut goal_evaluation = GoalEvaluationBuilder :: new ( goal, & orig_values) ;
527
527
let canonical_result = self . search_graph . evaluate_goal (
528
528
self . cx ( ) ,
529
529
canonical_goal,
0 commit comments