File tree 3 files changed +6
-6
lines changed
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 {
725
725
///
726
726
/// [`ptr::read`]: crate::ptr::read()
727
727
#[ 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 " ) ]
729
729
#[ inline]
730
730
pub const unsafe fn read ( self ) -> T
731
731
where
@@ -764,7 +764,7 @@ impl<T: ?Sized> *const T {
764
764
///
765
765
/// [`ptr::read_unaligned`]: crate::ptr::read_unaligned()
766
766
#[ 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 " ) ]
768
768
#[ inline]
769
769
pub const unsafe fn read_unaligned ( self ) -> T
770
770
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 {
685
685
/// [valid]: self#safety
686
686
#[ inline]
687
687
#[ 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 " ) ]
689
689
pub const unsafe fn read < T > ( src : * const T ) -> T {
690
690
// `copy_nonoverlapping` takes care of debug_assert.
691
691
let mut tmp = MaybeUninit :: < T > :: uninit ( ) ;
@@ -785,7 +785,7 @@ pub const unsafe fn read<T>(src: *const T) -> T {
785
785
/// ```
786
786
#[ inline]
787
787
#[ 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 " ) ]
789
789
pub const unsafe fn read_unaligned < T > ( src : * const T ) -> T {
790
790
// `copy_nonoverlapping` takes care of debug_assert.
791
791
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 {
832
832
///
833
833
/// [`ptr::read`]: crate::ptr::read()
834
834
#[ 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 " ) ]
836
836
#[ inline]
837
837
pub const unsafe fn read ( self ) -> T
838
838
where
@@ -871,7 +871,7 @@ impl<T: ?Sized> *mut T {
871
871
///
872
872
/// [`ptr::read_unaligned`]: crate::ptr::read_unaligned()
873
873
#[ 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 " ) ]
875
875
#[ inline]
876
876
pub const unsafe fn read_unaligned ( self ) -> T
877
877
where
You can’t perform that action at this time.
0 commit comments