This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -725,7 +725,7 @@ impl<T: ?Sized> *const T {
725725 ///
726726 /// [`ptr::read`]: crate::ptr::read()
727727 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
728- #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "none " ) ]
728+ #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "80377 " ) ]
729729 #[ inline]
730730 pub const unsafe fn read ( self ) -> T
731731 where
@@ -764,7 +764,7 @@ impl<T: ?Sized> *const T {
764764 ///
765765 /// [`ptr::read_unaligned`]: crate::ptr::read_unaligned()
766766 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
767- #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "none " ) ]
767+ #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "80377 " ) ]
768768 #[ inline]
769769 pub const unsafe fn read_unaligned ( self ) -> T
770770 where
Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ pub unsafe fn replace<T>(dst: *mut T, mut src: T) -> T {
685685/// [valid]: self#safety
686686#[ inline]
687687#[ stable( feature = "rust1" , since = "1.0.0" ) ]
688- #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "none " ) ]
688+ #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "80377 " ) ]
689689pub const unsafe fn read < T > ( src : * const T ) -> T {
690690 // `copy_nonoverlapping` takes care of debug_assert.
691691 let mut tmp = MaybeUninit :: < T > :: uninit ( ) ;
@@ -785,7 +785,7 @@ pub const unsafe fn read<T>(src: *const T) -> T {
785785/// ```
786786#[ inline]
787787#[ stable( feature = "ptr_unaligned" , since = "1.17.0" ) ]
788- #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "none " ) ]
788+ #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "80377 " ) ]
789789pub const unsafe fn read_unaligned < T > ( src : * const T ) -> T {
790790 // `copy_nonoverlapping` takes care of debug_assert.
791791 let mut tmp = MaybeUninit :: < T > :: uninit ( ) ;
Original file line number Diff line number Diff line change @@ -832,7 +832,7 @@ impl<T: ?Sized> *mut T {
832832 ///
833833 /// [`ptr::read`]: crate::ptr::read()
834834 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
835- #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "none " ) ]
835+ #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "80377 " ) ]
836836 #[ inline]
837837 pub const unsafe fn read ( self ) -> T
838838 where
@@ -871,7 +871,7 @@ impl<T: ?Sized> *mut T {
871871 ///
872872 /// [`ptr::read_unaligned`]: crate::ptr::read_unaligned()
873873 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
874- #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "none " ) ]
874+ #[ rustc_const_unstable( feature = "const_ptr_read" , issue = "80377 " ) ]
875875 #[ inline]
876876 pub const unsafe fn read_unaligned ( self ) -> T
877877 where
You can’t perform that action at this time.
0 commit comments