From 27568ed46973aef31a42b7ddacabb63d95cbffc5 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Sun, 18 Aug 2024 11:35:00 +0000 Subject: [PATCH] Silence lint. --- compiler/rustc_query_system/src/dep_graph/graph.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/rustc_query_system/src/dep_graph/graph.rs b/compiler/rustc_query_system/src/dep_graph/graph.rs index 4919ba5e59352..570de4a3912e3 100644 --- a/compiler/rustc_query_system/src/dep_graph/graph.rs +++ b/compiler/rustc_query_system/src/dep_graph/graph.rs @@ -1245,7 +1245,7 @@ impl CurrentDepGraph { fn promote_node_and_deps_to_current( &self, - prev_graph: &SerializedDepGraph, + _prev_graph: &SerializedDepGraph, prev_index: SerializedDepNodeIndex, ) -> DepNodeIndex { let mut prev_index_to_index = self.prev_index_to_index.lock(); @@ -1258,8 +1258,8 @@ impl CurrentDepGraph { #[cfg(debug_assertions)] self.record_edge( dep_node_index, - prev_graph.index_to_node(prev_index), - prev_graph.fingerprint_by_index(prev_index), + _prev_graph.index_to_node(prev_index), + _prev_graph.fingerprint_by_index(prev_index), ); dep_node_index }