Tweak debug outputs to make debugging new solver easier

This commit is contained in:
Michael Goulet
2023-03-25 20:10:41 +00:00
parent 7c96e40da8
commit 786fc90855
12 changed files with 76 additions and 52 deletions

View File

@@ -209,6 +209,7 @@ impl<'tcx> SearchGraph<'tcx> {
) -> QueryResult<'tcx> {
if self.should_use_global_cache() {
if let Some(result) = tcx.new_solver_evaluation_cache.get(&canonical_goal, tcx) {
debug!(?canonical_goal, ?result, "cache hit");
return result;
}
}