Skip to content

Commit f6af747

Browse files
committed
Mention the relevant tracking issue next to my bit_set hack
1 parent c6aa16c commit f6af747

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_index/src/bit_set.rs

+2
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ impl<T: Idx> ChunkedBitSet<T> {
502502
};
503503
#[cfg(not(feature = "nightly"))]
504504
let mut words = {
505+
// FIXME: unconditionally use `Rc::new_zeroed` once it is stable (#63291).
505506
let words = mem::MaybeUninit::<[Word; CHUNK_WORDS]>::zeroed();
506507
// SAFETY: `words` can safely be all zeroes.
507508
let words = unsafe { words.assume_init() };
@@ -567,6 +568,7 @@ impl<T: Idx> ChunkedBitSet<T> {
567568
};
568569
#[cfg(not(feature = "nightly"))]
569570
let mut words = {
571+
// FIXME: unconditionally use `Rc::new_zeroed` once it is stable (#63291).
570572
let words = mem::MaybeUninit::<[Word; CHUNK_WORDS]>::zeroed();
571573
// SAFETY: `words` can safely be all zeroes.
572574
let words = unsafe { words.assume_init() };

0 commit comments

Comments
 (0)