Skip to content

Commit

Permalink
Debug-print result when an unstable fingerprint is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Mar 20, 2021
1 parent f5f33ec commit 443cef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_query_system/src/query/plumbing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>(
Expand Down

0 comments on commit 443cef5

Please sign in to comment.