Skip to content

Commit 99ecfbc

Browse files
committed
Silence lint.
1 parent 4272c6b commit 99ecfbc

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_query_system/src/dep_graph

1 file changed

+3
-3
lines changed

compiler/rustc_query_system/src/dep_graph/graph.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ impl<D: Deps> CurrentDepGraph<D> {
12591259

12601260
fn promote_node_and_deps_to_current(
12611261
&self,
1262-
prev_graph: &SerializedDepGraph,
1262+
_prev_graph: &SerializedDepGraph,
12631263
prev_index: SerializedDepNodeIndex,
12641264
) -> DepNodeIndex {
12651265
let mut prev_index_to_index = self.prev_index_to_index.lock();
@@ -1272,8 +1272,8 @@ impl<D: Deps> CurrentDepGraph<D> {
12721272
#[cfg(debug_assertions)]
12731273
self.record_edge(
12741274
dep_node_index,
1275-
prev_graph.index_to_node(prev_index),
1276-
prev_graph.fingerprint_by_index(prev_index),
1275+
_prev_graph.index_to_node(prev_index),
1276+
_prev_graph.fingerprint_by_index(prev_index),
12771277
);
12781278
dep_node_index
12791279
}

0 commit comments

Comments
 (0)