Skip to content

Commit d6b2aae

Browse files
committed
rustc_query_system: rename intern_node to intern_new_node
1 parent 712fcae commit d6b2aae

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
@@ -333,7 +333,7 @@ impl<K: DepKind> DepGraph<K> {
333333
eprintln!("[task::new] {:?}", key);
334334
}
335335

336-
data.current.intern_node(
336+
data.current.intern_new_node(
337337
&data.previous,
338338
key,
339339
edges,
@@ -376,7 +376,7 @@ impl<K: DepKind> DepGraph<K> {
376376
hash: data.current.anon_id_seed.combine(hasher.finish()).into(),
377377
};
378378

379-
let dep_node_index = data.current.intern_node(
379+
let dep_node_index = data.current.intern_new_node(
380380
&data.previous,
381381
target_dep_node,
382382
task_deps.reads,
@@ -1354,7 +1354,7 @@ impl<K: DepKind> CurrentDepGraph<K> {
13541354
}
13551355
}
13561356

1357-
fn intern_node(
1357+
fn intern_new_node(
13581358
&self,
13591359
prev_graph: &PreviousDepGraph<K>,
13601360
dep_node: DepNode<K>,

0 commit comments

Comments
 (0)