@@ -1359,7 +1359,7 @@ impl<T: ?Sized> *mut T {
1359
1359
///
1360
1360
/// [`ptr::write`]: crate::ptr::write()
1361
1361
#[ 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 " ) ]
1363
1363
#[ inline( always) ]
1364
1364
#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
1365
1365
pub const unsafe fn write ( self , val : T )
@@ -1378,7 +1378,7 @@ impl<T: ?Sized> *mut T {
1378
1378
/// [`ptr::write_bytes`]: crate::ptr::write_bytes()
1379
1379
#[ doc( alias = "memset" ) ]
1380
1380
#[ 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 " ) ]
1382
1382
#[ inline( always) ]
1383
1383
#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
1384
1384
pub const unsafe fn write_bytes ( self , val : u8 , count : usize )
@@ -1419,7 +1419,7 @@ impl<T: ?Sized> *mut T {
1419
1419
///
1420
1420
/// [`ptr::write_unaligned`]: crate::ptr::write_unaligned()
1421
1421
#[ 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 " ) ]
1423
1423
#[ inline( always) ]
1424
1424
#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
1425
1425
pub const unsafe fn write_unaligned ( self , val : T )
0 commit comments