@@ -1359,7 +1359,7 @@ impl<T: ?Sized> *mut T {
13591359 ///
13601360 /// [`ptr::write`]: crate::ptr::write()
13611361 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1362- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1362+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
13631363 #[ inline( always) ]
13641364 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
13651365 pub const unsafe fn write ( self , val : T )
@@ -1378,7 +1378,7 @@ impl<T: ?Sized> *mut T {
13781378 /// [`ptr::write_bytes`]: crate::ptr::write_bytes()
13791379 #[ doc( alias = "memset" ) ]
13801380 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1381- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1381+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
13821382 #[ inline( always) ]
13831383 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
13841384 pub const unsafe fn write_bytes ( self , val : u8 , count : usize )
@@ -1419,7 +1419,7 @@ impl<T: ?Sized> *mut T {
14191419 ///
14201420 /// [`ptr::write_unaligned`]: crate::ptr::write_unaligned()
14211421 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1422- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1422+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
14231423 #[ inline( always) ]
14241424 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
14251425 pub const unsafe fn write_unaligned ( self , val : T )
0 commit comments