diff --git a/src/libcore/ptr/const_ptr.rs b/src/libcore/ptr/const_ptr.rs index 22c741d4651..39d4aca636a 100644 --- a/src/libcore/ptr/const_ptr.rs +++ b/src/libcore/ptr/const_ptr.rs @@ -842,8 +842,8 @@ impl *const [T] { /// assert_eq!(slice.as_ptr(), 0 as *const i8); /// ``` #[inline] - #[unstable(feature = "slice_ptr_get", issue = "none")] - #[rustc_const_unstable(feature = "slice_ptr_get", issue = "none")] + #[unstable(feature = "slice_ptr_get", issue = "74265")] + #[rustc_const_unstable(feature = "slice_ptr_get", issue = "74265")] pub const fn as_ptr(self) -> *const T { self as *const T } @@ -867,7 +867,7 @@ impl *const [T] { /// assert_eq!(x.get_unchecked(1), x.as_ptr().add(1)); /// } /// ``` - #[unstable(feature = "slice_ptr_get", issue = "none")] + #[unstable(feature = "slice_ptr_get", issue = "74265")] #[inline] pub unsafe fn get_unchecked(self, index: I) -> *const I::Output where diff --git a/src/libcore/ptr/mut_ptr.rs b/src/libcore/ptr/mut_ptr.rs index 56bade70694..644465d7d17 100644 --- a/src/libcore/ptr/mut_ptr.rs +++ b/src/libcore/ptr/mut_ptr.rs @@ -1043,8 +1043,8 @@ impl *mut [T] { /// assert_eq!(slice.as_mut_ptr(), 0 as *mut i8); /// ``` #[inline] - #[unstable(feature = "slice_ptr_get", issue = "none")] - #[rustc_const_unstable(feature = "slice_ptr_get", issue = "none")] + #[unstable(feature = "slice_ptr_get", issue = "74265")] + #[rustc_const_unstable(feature = "slice_ptr_get", issue = "74265")] pub const fn as_mut_ptr(self) -> *mut T { self as *mut T } @@ -1068,7 +1068,7 @@ impl *mut [T] { /// assert_eq!(x.get_unchecked_mut(1), x.as_mut_ptr().add(1)); /// } /// ``` - #[unstable(feature = "slice_ptr_get", issue = "none")] + #[unstable(feature = "slice_ptr_get", issue = "74265")] #[inline] pub unsafe fn get_unchecked_mut(self, index: I) -> *mut I::Output where diff --git a/src/libcore/ptr/non_null.rs b/src/libcore/ptr/non_null.rs index f59da631b46..b362a49d604 100644 --- a/src/libcore/ptr/non_null.rs +++ b/src/libcore/ptr/non_null.rs @@ -217,8 +217,8 @@ impl NonNull<[T]> { /// assert_eq!(slice.as_non_null_ptr(), NonNull::new(1 as *mut i8).unwrap()); /// ``` #[inline] - #[unstable(feature = "slice_ptr_get", issue = "none")] - #[rustc_const_unstable(feature = "slice_ptr_get", issue = "none")] + #[unstable(feature = "slice_ptr_get", issue = "74265")] + #[rustc_const_unstable(feature = "slice_ptr_get", issue = "74265")] pub const fn as_non_null_ptr(self) -> NonNull { // SAFETY: We know `self` is non-null. unsafe { NonNull::new_unchecked(self.as_ptr().as_mut_ptr()) } @@ -245,7 +245,7 @@ impl NonNull<[T]> { /// assert_eq!(x.get_unchecked_mut(1).as_ptr(), x.as_non_null_ptr().as_ptr().add(1)); /// } /// ``` - #[unstable(feature = "slice_ptr_get", issue = "none")] + #[unstable(feature = "slice_ptr_get", issue = "74265")] #[inline] pub unsafe fn get_unchecked_mut(self, index: I) -> NonNull where