From cdbf19a6fbb4446fe4dea62187a0924318c7c2c8 Mon Sep 17 00:00:00 2001 From: John Kåre Alsaker Date: Tue, 18 Mar 2025 00:07:19 +0100 Subject: Add fixme --- compiler/rustc_query_system/src/dep_graph/graph.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_query_system/src/dep_graph/graph.rs b/compiler/rustc_query_system/src/dep_graph/graph.rs index 89372bd24d2..c7749adb114 100644 --- a/compiler/rustc_query_system/src/dep_graph/graph.rs +++ b/compiler/rustc_query_system/src/dep_graph/graph.rs @@ -1204,6 +1204,7 @@ impl CurrentDepGraph { ), anon_node_to_index: Sharded::new(|| { FxHashMap::with_capacity_and_hasher( + // FIXME: The count estimate is off as anon nodes are only a portion of the nodes. new_node_count_estimate / sharded::shards(), Default::default(), ) -- cgit 1.4.1-3-g733a5