Don't rely on Debug
impl for Erased
This commit is contained in:
parent
785459d630
commit
36b4199a8e
7 changed files with 33 additions and 23 deletions
|
@ -538,7 +538,14 @@ impl<K: DepKind> DepGraph<K> {
|
|||
if let Some(prev_index) = data.previous.node_to_index_opt(&node) {
|
||||
let dep_node_index = data.current.prev_index_to_index.lock()[prev_index];
|
||||
if let Some(dep_node_index) = dep_node_index {
|
||||
crate::query::incremental_verify_ich(cx, data, result, prev_index, hash_result);
|
||||
crate::query::incremental_verify_ich(
|
||||
cx,
|
||||
data,
|
||||
result,
|
||||
prev_index,
|
||||
hash_result,
|
||||
|value| format!("{:?}", value),
|
||||
);
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
if hash_result.is_some() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue