We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
node_index
index
1 parent 3b506d9 commit 4a7fb8bCopy full SHA for 4a7fb8b
src/librustc_data_structures/obligation_forest/mod.rs
@@ -373,8 +373,8 @@ impl<O: ForestObligation> ObligationForest<O> {
373
.collect()
374
}
375
376
- fn insert_into_error_cache(&mut self, node_index: usize) {
377
- let node = &self.nodes[node_index];
+ fn insert_into_error_cache(&mut self, index: usize) {
+ let node = &self.nodes[index];
378
self.error_cache
379
.entry(node.obligation_tree_id)
380
.or_default()
0 commit comments