diff --git a/compiler/rustc_index/src/bit_set.rs b/compiler/rustc_index/src/bit_set.rs index df777502c44..282bed274e6 100644 --- a/compiler/rustc_index/src/bit_set.rs +++ b/compiler/rustc_index/src/bit_set.rs @@ -956,7 +956,7 @@ impl SparseBitMatrix { Self { num_columns, rows: IndexVec::new() } } - fn ensure_row(&mut self, row: R) -> &mut HybridBitSet { + pub fn ensure_row(&mut self, row: R) -> &mut HybridBitSet { // Instantiate any missing rows up to and including row `row` with an // empty HybridBitSet. self.rows.ensure_contains_elem(row, || None);