We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bit_set
1 parent c6aa16c commit f6af747Copy full SHA for f6af747
compiler/rustc_index/src/bit_set.rs
@@ -502,6 +502,7 @@ impl<T: Idx> ChunkedBitSet<T> {
502
};
503
#[cfg(not(feature = "nightly"))]
504
let mut words = {
505
+ // FIXME: unconditionally use `Rc::new_zeroed` once it is stable (#63291).
506
let words = mem::MaybeUninit::<[Word; CHUNK_WORDS]>::zeroed();
507
// SAFETY: `words` can safely be all zeroes.
508
let words = unsafe { words.assume_init() };
@@ -567,6 +568,7 @@ impl<T: Idx> ChunkedBitSet<T> {
567
568
569
570
571
572
573
574
0 commit comments