about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2025-03-18 00:07:19 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2025-03-19 20:12:37 +0100
commitcdbf19a6fbb4446fe4dea62187a0924318c7c2c8 (patch)
tree4bacab5200a00584595411773383e92a67ff33da
parente70cafec4e632aa0b14c5e81d1d64c5d944021cc (diff)
downloadrust-cdbf19a6fbb4446fe4dea62187a0924318c7c2c8.tar.gz
rust-cdbf19a6fbb4446fe4dea62187a0924318c7c2c8.zip
Add fixme
-rw-r--r--compiler/rustc_query_system/src/dep_graph/graph.rs1
1 files changed, 1 insertions, 0 deletions
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<D: Deps> CurrentDepGraph<D> {
             ),
             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(),
                 )