Skip to content

Commit

Permalink
Silence lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Dec 2, 2024
1 parent 694b773 commit 27568ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_query_system/src/dep_graph/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ impl<D: Deps> CurrentDepGraph<D> {

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();
Expand All @@ -1258,8 +1258,8 @@ impl<D: Deps> CurrentDepGraph<D> {
#[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
}
Expand Down

0 comments on commit 27568ed

Please sign in to comment.