This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -871,7 +871,7 @@ pub const unsafe fn read_unaligned<T>(src: *const T) -> T {
871871/// ```
872872#[ inline]
873873#[ stable( feature = "rust1" , since = "1.0.0" ) ]
874- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
874+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
875875pub const unsafe fn write < T > ( dst : * mut T , src : T ) {
876876 // We are calling the intrinsics directly to avoid function calls in the generated code
877877 // as `intrinsics::copy_nonoverlapping` is a wrapper function.
@@ -968,7 +968,7 @@ pub const unsafe fn write<T>(dst: *mut T, src: T) {
968968/// ```
969969#[ inline]
970970#[ stable( feature = "ptr_unaligned" , since = "1.17.0" ) ]
971- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
971+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
972972pub const unsafe fn write_unaligned < T > ( dst : * mut T , src : T ) {
973973 // SAFETY: the caller must guarantee that `dst` is valid for writes.
974974 // `dst` cannot overlap `src` because the caller has mutable access
Original file line number Diff line number Diff line change @@ -1002,7 +1002,7 @@ impl<T: ?Sized> *mut T {
10021002 ///
10031003 /// [`ptr::write`]: crate::ptr::write()
10041004 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1005- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
1005+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
10061006 #[ inline( always) ]
10071007 pub const unsafe fn write ( self , val : T )
10081008 where
@@ -1057,7 +1057,7 @@ impl<T: ?Sized> *mut T {
10571057 ///
10581058 /// [`ptr::write_unaligned`]: crate::ptr::write_unaligned()
10591059 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1060- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
1060+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
10611061 #[ inline( always) ]
10621062 pub const unsafe fn write_unaligned ( self , val : T )
10631063 where
You can’t perform that action at this time.
0 commit comments