@@ -1084,7 +1084,7 @@ extern "rust-intrinsic" {
1084
1084
/// it does not require an `unsafe` block.
1085
1085
/// Therefore, implementations must not require the user to uphold
1086
1086
/// 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 " ) ]
1088
1088
#[ rustc_safe_intrinsic]
1089
1089
#[ rustc_nounwind]
1090
1090
pub fn forget < T : ?Sized > ( _: T ) ;
@@ -2688,7 +2688,7 @@ extern "rust-intrinsic" {
2688
2688
/// This intrinsic can *only* be called where the pointer is a local without
2689
2689
/// projections (`write_via_move(ptr, x)`, not `write_via_move(*ptr, x)`) so
2690
2690
/// 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 " ) ]
2692
2692
#[ rustc_nounwind]
2693
2693
pub fn write_via_move < T > ( ptr : * mut T , value : T ) ;
2694
2694
@@ -3525,13 +3525,13 @@ pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
3525
3525
#[ doc( alias = "memset" ) ]
3526
3526
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3527
3527
#[ 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 " ) ]
3529
3529
#[ inline( always) ]
3530
3530
#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
3531
3531
#[ rustc_diagnostic_item = "ptr_write_bytes" ]
3532
3532
pub const unsafe fn write_bytes < T > ( dst : * mut T , val : u8 , count : usize ) {
3533
3533
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 " ) ]
3535
3535
#[ rustc_nounwind]
3536
3536
fn write_bytes < T > ( dst : * mut T , val : u8 , count : usize ) ;
3537
3537
}
0 commit comments