We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7eaed2 commit b46b05dCopy full SHA for b46b05d
library/core/src/slice/mod.rs
@@ -1596,7 +1596,8 @@ impl<T> [T] {
1596
/// }
1597
/// ```
1598
#[stable(feature = "rust1", since = "1.0.0")]
1599
- #[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")]
1600
+ #[rustc_allow_const_fn_unstable(slice_split_at_unchecked)]
1601
#[inline]
1602
#[track_caller]
1603
#[must_use]
0 commit comments