Skip to content

Commit 0c7de43

Browse files
committed
Hide debug function.
1 parent 91734f1 commit 0c7de43

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_query_system/src/dep_graph

1 file changed

+1
-0
lines changed

compiler/rustc_query_system/src/dep_graph/graph.rs

+1
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ impl<K: DepKind> DepGraph<K> {
392392
}
393393

394394
#[inline(always)]
395+
#[cfg(debug_assertions)]
395396
pub(crate) fn register_dep_node_debug_str<F>(&self, dep_node: DepNode<K>, debug_str_gen: F)
396397
where
397398
F: FnOnce() -> String,

0 commit comments

Comments
 (0)