Skip to content

Commit 1005cc7

Browse files
committed
add logging to search graph
1 parent ec9571a commit 1005cc7

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
@@ -279,6 +279,7 @@ impl<'tcx> SearchGraph<TyCtxt<'tcx>> {
279279
};
280280

281281
if let Some(result) = self.lookup_global_cache(tcx, input, available_depth, inspect) {
282+
debug!("global cache hit");
282283
return result;
283284
}
284285

@@ -360,7 +361,7 @@ impl<'tcx> SearchGraph<TyCtxt<'tcx>> {
360361
for _ in 0..FIXPOINT_STEP_LIMIT {
361362
match self.fixpoint_step_in_task(tcx, input, inspect, &mut prove_goal) {
362363
StepResult::Done(final_entry, result) => return (final_entry, result),
363-
StepResult::HasChanged => {}
364+
StepResult::HasChanged => debug!("fixpoint changed provisional results"),
364365
}
365366
}
366367

0 commit comments

Comments
 (0)