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