@@ -1360,7 +1360,7 @@ impl<T: ?Sized> *mut T {
13601360 ///
13611361 /// [`ptr::write`]: crate::ptr::write()
13621362 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1363- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1363+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
13641364 #[ inline( always) ]
13651365 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
13661366 pub const unsafe fn write ( self , val : T )
@@ -1379,7 +1379,7 @@ impl<T: ?Sized> *mut T {
13791379 /// [`ptr::write_bytes`]: crate::ptr::write_bytes()
13801380 #[ doc( alias = "memset" ) ]
13811381 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1382- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1382+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
13831383 #[ inline( always) ]
13841384 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
13851385 pub const unsafe fn write_bytes ( self , val : u8 , count : usize )
@@ -1420,7 +1420,7 @@ impl<T: ?Sized> *mut T {
14201420 ///
14211421 /// [`ptr::write_unaligned`]: crate::ptr::write_unaligned()
14221422 #[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1423- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
1423+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
14241424 #[ inline( always) ]
14251425 #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
14261426 pub const unsafe fn write_unaligned ( self , val : T )
0 commit comments