@@ -622,7 +622,7 @@ impl<T> MaybeUninit<T> {
622622 /// // `x` had not been initialized yet, so this last line caused undefined behavior. ⚠️
623623 /// ```
624624 #[stable(feature = "maybe_uninit", since = "1.36.0")]
625- #[rustc_const_stable(feature = "const_maybe_uninit_assume_init ", since = "1.59.0")]
625+ #[rustc_const_stable(feature = "const_maybe_uninit_assume_init_by_value ", since = "1.59.0")]
626626 #[inline(always)]
627627 #[rustc_diagnostic_item = "assume_init"]
628628 #[track_caller]
@@ -788,7 +788,7 @@ impl<T> MaybeUninit<T> {
788788 /// }
789789 /// ```
790790 #[stable(feature = "maybe_uninit_ref", since = "1.55.0")]
791- #[rustc_const_stable(feature = "const_maybe_uninit_assume_init ", since = "1.59.0")]
791+ #[rustc_const_stable(feature = "const_maybe_uninit_assume_init_ref ", since = "1.59.0")]
792792 #[inline(always)]
793793 pub const unsafe fn assume_init_ref(&self) -> &T {
794794 // SAFETY: the caller must guarantee that `self` is initialized.
@@ -905,7 +905,7 @@ impl<T> MaybeUninit<T> {
905905 /// };
906906 /// ```
907907 #[stable(feature = "maybe_uninit_ref", since = "1.55.0")]
908- #[rustc_const_unstable(feature = "const_maybe_uninit_assume_init_mut ", issue = "none")]
908+ #[rustc_const_unstable(feature = "const_maybe_uninit_assume_init ", issue = "none")]
909909 #[inline(always)]
910910 pub const unsafe fn assume_init_mut(&mut self) -> &mut T {
911911 // SAFETY: the caller must guarantee that `self` is initialized.
@@ -991,7 +991,7 @@ impl<T> MaybeUninit<T> {
991991 ///
992992 /// [`assume_init_mut`]: MaybeUninit::assume_init_mut
993993 #[unstable(feature = "maybe_uninit_slice", issue = "63569")]
994- #[rustc_const_unstable(feature = "const_maybe_uninit_assume_init_mut ", issue = "none")]
994+ #[rustc_const_unstable(feature = "const_maybe_uninit_assume_init ", issue = "none")]
995995 #[inline(always)]
996996 pub const unsafe fn slice_assume_init_mut(slice: &mut [Self]) -> &mut [T] {
997997 // SAFETY: similar to safety notes for `slice_get_ref`, but we have a
0 commit comments