Skip to content

Commit 61edfd5

Browse files
committed
Auto merge of #83314 - Aaron1011:print-unstable-value, r=lcnr
Debug-print result when an unstable fingerprint is detected Helps with issues like #83311 I had previously tried to do this in #80692, but it had a significant performance impact (even though the code was never actually run). Hopefully, this will be better now that #79100 has been merged.
2 parents 41b315a + 443cef5 commit 61edfd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_query_system/src/query/plumbing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ fn incremental_verify_ich<CTX, K, V: Debug>(
590590

591591
let old_hash = tcx.dep_graph().fingerprint_of(dep_node_index);
592592

593-
assert!(new_hash == old_hash, "found unstable fingerprints for {:?}", dep_node,);
593+
assert!(new_hash == old_hash, "found unstable fingerprints for {:?}: {:?}", dep_node, result);
594594
}
595595

596596
fn force_query_with_job<C, CTX>(

0 commit comments

Comments
 (0)