@@ -285,7 +285,7 @@ impl<T: ?Sized> *const T {
285
285
/// ```
286
286
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
287
287
#[ must_use = "returns a new pointer rather than modifying its argument" ]
288
- #[ rustc_const_unstable ( feature = "const_ptr_offset" , issue = "71499 " ) ]
288
+ #[ rustc_const_stable ( feature = "const_ptr_offset" , since = "1.61.0 " ) ]
289
289
#[ inline( always) ]
290
290
pub const unsafe fn offset ( self , count : isize ) -> * const T
291
291
where
@@ -347,7 +347,7 @@ impl<T: ?Sized> *const T {
347
347
/// ```
348
348
#[ stable( feature = "ptr_wrapping_offset" , since = "1.16.0" ) ]
349
349
#[ must_use = "returns a new pointer rather than modifying its argument" ]
350
- #[ rustc_const_unstable ( feature = "const_ptr_offset" , issue = "71499 " ) ]
350
+ #[ rustc_const_stable ( feature = "const_ptr_offset" , since = "1.61.0 " ) ]
351
351
#[ inline( always) ]
352
352
pub const fn wrapping_offset ( self , count : isize ) -> * const T
353
353
where
@@ -566,7 +566,7 @@ impl<T: ?Sized> *const T {
566
566
/// ```
567
567
#[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
568
568
#[ must_use = "returns a new pointer rather than modifying its argument" ]
569
- #[ rustc_const_unstable ( feature = "const_ptr_offset" , issue = "71499 " ) ]
569
+ #[ rustc_const_stable ( feature = "const_ptr_offset" , since = "1.61.0 " ) ]
570
570
#[ inline( always) ]
571
571
pub const unsafe fn add ( self , count : usize ) -> Self
572
572
where
@@ -630,7 +630,7 @@ impl<T: ?Sized> *const T {
630
630
/// ```
631
631
#[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
632
632
#[ must_use = "returns a new pointer rather than modifying its argument" ]
633
- #[ rustc_const_unstable ( feature = "const_ptr_offset" , issue = "71499 " ) ]
633
+ #[ rustc_const_stable ( feature = "const_ptr_offset" , since = "1.61.0 " ) ]
634
634
#[ inline]
635
635
pub const unsafe fn sub ( self , count : usize ) -> Self
636
636
where
@@ -693,7 +693,7 @@ impl<T: ?Sized> *const T {
693
693
/// ```
694
694
#[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
695
695
#[ must_use = "returns a new pointer rather than modifying its argument" ]
696
- #[ rustc_const_unstable ( feature = "const_ptr_offset" , issue = "71499 " ) ]
696
+ #[ rustc_const_stable ( feature = "const_ptr_offset" , since = "1.61.0 " ) ]
697
697
#[ inline( always) ]
698
698
pub const fn wrapping_add ( self , count : usize ) -> Self
699
699
where
@@ -755,7 +755,7 @@ impl<T: ?Sized> *const T {
755
755
/// ```
756
756
#[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
757
757
#[ must_use = "returns a new pointer rather than modifying its argument" ]
758
- #[ rustc_const_unstable ( feature = "const_ptr_offset" , issue = "71499 " ) ]
758
+ #[ rustc_const_stable ( feature = "const_ptr_offset" , since = "1.61.0 " ) ]
759
759
#[ inline]
760
760
pub const fn wrapping_sub ( self , count : usize ) -> Self
761
761
where
0 commit comments