about summary refs log tree commit diff
path: root/compiler/rustc_query_system
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-03-19 21:47:57 -0400
committerAaron Hill <aa1ronham@gmail.com>2021-03-19 21:47:57 -0400
commit443cef56184847ea04e3f8fa75bab546bed796e0 (patch)
treef392c66e61c71b35412d1e676223f581e99f5001 /compiler/rustc_query_system
parentf5f33ec0e0455eefa72fc5567eb1280a4d5ee206 (diff)
downloadrust-443cef56184847ea04e3f8fa75bab546bed796e0.tar.gz
rust-443cef56184847ea04e3f8fa75bab546bed796e0.zip
Debug-print result when an unstable fingerprint is detected
Diffstat (limited to 'compiler/rustc_query_system')
-rw-r--r--compiler/rustc_query_system/src/query/plumbing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/query/plumbing.rs b/compiler/rustc_query_system/src/query/plumbing.rs
index 6e16f803f8c..77267489a75 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<CTX, K, V: Debug>(
 
     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<C, CTX>(