@@ -1084,7 +1084,7 @@ extern "rust-intrinsic" {
10841084 /// it does not require an `unsafe` block.
10851085 /// Therefore, implementations must not require the user to uphold
10861086 /// any safety invariants.
1087- #[ rustc_const_unstable ( feature = "const_intrinsic_forget" , issue = "none " ) ]
1087+ #[ rustc_const_stable ( feature = "const_intrinsic_forget" , since = "CURRENT_RUSTC_VERSION " ) ]
10881088 #[ rustc_safe_intrinsic]
10891089 #[ rustc_nounwind]
10901090 pub fn forget < T : ?Sized > ( _: T ) ;
@@ -2688,7 +2688,7 @@ extern "rust-intrinsic" {
26882688 /// This intrinsic can *only* be called where the pointer is a local without
26892689 /// projections (`write_via_move(ptr, x)`, not `write_via_move(*ptr, x)`) so
26902690 /// that it trivially obeys runtime-MIR rules about derefs in operands.
2691- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
2691+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
26922692 #[ rustc_nounwind]
26932693 pub fn write_via_move < T > ( ptr : * mut T , value : T ) ;
26942694
@@ -3525,13 +3525,13 @@ pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
35253525#[ doc( alias = "memset" ) ]
35263526#[ stable( feature = "rust1" , since = "1.0.0" ) ]
35273527#[ rustc_allowed_through_unstable_modules]
3528- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
3528+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
35293529#[ inline( always) ]
35303530#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
35313531#[ rustc_diagnostic_item = "ptr_write_bytes" ]
35323532pub const unsafe fn write_bytes < T > ( dst : * mut T , val : u8 , count : usize ) {
35333533 extern "rust-intrinsic" {
3534- #[ rustc_const_unstable ( feature = "const_ptr_write" , issue = "86302 " ) ]
3534+ #[ rustc_const_stable ( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
35353535 #[ rustc_nounwind]
35363536 fn write_bytes < T > ( dst : * mut T , val : u8 , count : usize ) ;
35373537 }
0 commit comments