@@ -1449,7 +1449,7 @@ impl<T: ?Sized> *mut T {
14491449 ///
14501450 /// [`ptr::write`]: crate::ptr::write()
14511451 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1452- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1452+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
14531453 #[ inline( always) ]
14541454 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
14551455 pub const unsafe fn write ( self , val : T )
@@ -1468,7 +1468,7 @@ impl<T: ?Sized> *mut T {
14681468 /// [`ptr::write_bytes`]: crate::ptr::write_bytes()
14691469 #[ doc( alias = "memset" ) ]
14701470 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1471- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1471+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
14721472 #[ inline( always) ]
14731473 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
14741474 pub const unsafe fn write_bytes ( self , val : u8 , count : usize )
@@ -1509,7 +1509,7 @@ impl<T: ?Sized> *mut T {
15091509 ///
15101510 /// [`ptr::write_unaligned`]: crate::ptr::write_unaligned()
15111511 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1512- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1512+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
15131513 #[ inline( always) ]
15141514 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
15151515 pub const unsafe fn write_unaligned ( self , val : T )
0 commit comments