From 443cef56184847ea04e3f8fa75bab546bed796e0 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Fri, 19 Mar 2021 21:47:57 -0400 Subject: [PATCH] Debug-print result when an unstable fingerprint is detected --- compiler/rustc_query_system/src/query/plumbing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_query_system/src/query/plumbing.rs b/compiler/rustc_query_system/src/query/plumbing.rs index 6e16f803f8cf6..77267489a7526 100644 --- a/compiler/rustc_query_system/src/query/plumbing.rs +++ b/compiler/rustc_query_system/src/query/plumbing.rs @@ -590,7 +590,7 @@ fn incremental_verify_ich( let old_hash = tcx.dep_graph().fingerprint_of(dep_node_index); - assert!(new_hash == old_hash, "found unstable fingerprints for {:?}", dep_node,); + assert!(new_hash == old_hash, "found unstable fingerprints for {:?}: {:?}", dep_node, result); } fn force_query_with_job(