diff --git a/core/src/slice/mod.rs b/core/src/slice/mod.rs index c2e9ba273..6fd2b87d0 100644 --- a/core/src/slice/mod.rs +++ b/core/src/slice/mod.rs @@ -1595,7 +1595,8 @@ impl [T] { /// } /// ``` #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_unstable(feature = "const_slice_split_at_not_mut", issue = "101158")] + #[rustc_const_stable(feature = "const_slice_split_at_not_mut", since = "CURRENT_RUSTC_VERSION")] + #[rustc_allow_const_fn_unstable(slice_split_at_unchecked)] #[inline] #[track_caller] #[must_use]