Skip to content

Commit 27568ed

Browse files
committed
Silence lint.
1 parent 694b773 commit 27568ed

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
@@ -1245,7 +1245,7 @@ impl<D: Deps> CurrentDepGraph<D> {
12451245

12461246
fn promote_node_and_deps_to_current(
12471247
&self,
1248-
prev_graph: &SerializedDepGraph,
1248+
_prev_graph: &SerializedDepGraph,
12491249
prev_index: SerializedDepNodeIndex,
12501250
) -> DepNodeIndex {
12511251
let mut prev_index_to_index = self.prev_index_to_index.lock();
@@ -1258,8 +1258,8 @@ impl<D: Deps> CurrentDepGraph<D> {
12581258
#[cfg(debug_assertions)]
12591259
self.record_edge(
12601260
dep_node_index,
1261-
prev_graph.index_to_node(prev_index),
1262-
prev_graph.fingerprint_by_index(prev_index),
1261+
_prev_graph.index_to_node(prev_index),
1262+
_prev_graph.fingerprint_by_index(prev_index),
12631263
);
12641264
dep_node_index
12651265
}

0 commit comments

Comments
 (0)