@@ -310,7 +310,7 @@ impl<T: ?Sized> *mut T {
310310 /// ```
311311 // FIXME: mention it in the docs for `as_ref` and `as_uninit_ref` once stabilized.
312312 #[ unstable( feature = "ptr_as_ref_unchecked" , issue = "122034" ) ]
313- #[ rustc_const_unstable( feature = "const_ptr_as_ref " , issue = "91822 " ) ]
313+ #[ rustc_const_unstable( feature = "ptr_as_ref_unchecked " , issue = "122034 " ) ]
314314 #[ inline]
315315 #[ must_use]
316316 pub const unsafe fn as_ref_unchecked < ' a > ( self ) -> & ' a T {
@@ -349,7 +349,7 @@ impl<T: ?Sized> *mut T {
349349 /// ```
350350 #[ inline]
351351 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
352- #[ rustc_const_unstable( feature = "const_ptr_as_ref " , issue = "91822 " ) ]
352+ #[ rustc_const_unstable( feature = "ptr_as_uninit " , issue = "75402 " ) ]
353353 pub const unsafe fn as_uninit_ref < ' a > ( self ) -> Option < & ' a MaybeUninit < T > >
354354 where
355355 T : Sized ,
@@ -631,7 +631,7 @@ impl<T: ?Sized> *mut T {
631631 /// ```
632632 // FIXME: mention it in the docs for `as_mut` and `as_uninit_mut` once stabilized.
633633 #[ unstable( feature = "ptr_as_ref_unchecked" , issue = "122034" ) ]
634- #[ rustc_const_unstable( feature = "const_ptr_as_ref " , issue = "91822 " ) ]
634+ #[ rustc_const_unstable( feature = "ptr_as_ref_unchecked " , issue = "122034 " ) ]
635635 #[ inline]
636636 #[ must_use]
637637 pub const unsafe fn as_mut_unchecked < ' a > ( self ) -> & ' a mut T {
@@ -654,7 +654,7 @@ impl<T: ?Sized> *mut T {
654654 /// the pointer is [convertible to a reference](crate::ptr#pointer-to-reference-conversion).
655655 #[ inline]
656656 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
657- #[ rustc_const_unstable( feature = "const_ptr_as_ref " , issue = "91822 " ) ]
657+ #[ rustc_const_unstable( feature = "ptr_as_uninit " , issue = "75402 " ) ]
658658 pub const unsafe fn as_uninit_mut < ' a > ( self ) -> Option < & ' a mut MaybeUninit < T > >
659659 where
660660 T : Sized ,
@@ -2031,7 +2031,7 @@ impl<T> *mut [T] {
20312031 /// [allocated object]: crate::ptr#allocated-object
20322032 #[ inline]
20332033 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
2034- #[ rustc_const_unstable( feature = "const_ptr_as_ref " , issue = "91822 " ) ]
2034+ #[ rustc_const_unstable( feature = "ptr_as_uninit " , issue = "75402 " ) ]
20352035 pub const unsafe fn as_uninit_slice < ' a > ( self ) -> Option < & ' a [ MaybeUninit < T > ] > {
20362036 if self . is_null ( ) {
20372037 None
@@ -2083,7 +2083,7 @@ impl<T> *mut [T] {
20832083 /// [allocated object]: crate::ptr#allocated-object
20842084 #[ inline]
20852085 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
2086- #[ rustc_const_unstable( feature = "const_ptr_as_ref " , issue = "91822 " ) ]
2086+ #[ rustc_const_unstable( feature = "ptr_as_uninit " , issue = "75402 " ) ]
20872087 pub const unsafe fn as_uninit_slice_mut < ' a > ( self ) -> Option < & ' a mut [ MaybeUninit < T > ] > {
20882088 if self . is_null ( ) {
20892089 None
0 commit comments