Skip to content

Commit 86cbabb

Browse files
committed
add logging to search graph
1 parent f7d14b7 commit 86cbabb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_trait_selection/src/solve/search_graph.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ impl<'tcx> SearchGraph<TyCtxt<'tcx>> {
281281
};
282282

283283
if let Some(result) = self.lookup_global_cache(tcx, input, available_depth, inspect) {
284+
debug!("global cache hit");
284285
return result;
285286
}
286287

@@ -365,7 +366,7 @@ impl<'tcx> SearchGraph<TyCtxt<'tcx>> {
365366
for _ in 0..FIXPOINT_STEP_LIMIT {
366367
match self.fixpoint_step_in_task(tcx, input, inspect, &mut prove_goal) {
367368
StepResult::Done(final_entry, result) => return (final_entry, result),
368-
StepResult::HasChanged => {}
369+
StepResult::HasChanged => debug!("fixpoint changed provisional results"),
369370
}
370371
}
371372

0 commit comments

Comments
 (0)