We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5671193 commit 29c8eefCopy full SHA for 29c8eef
core/src/slice/mod.rs
@@ -846,7 +846,7 @@ impl<T> [T] {
846
/// [`as_mut_ptr`]: slice::as_mut_ptr
847
#[stable(feature = "slice_ptr_range", since = "1.48.0")]
848
#[rustc_const_stable(feature = "const_ptr_offset", since = "1.61.0")]
849
- #[rustc_allow_const_fn_unstable(const_mut_refs)]
+ #[rustc_allow_const_fn_unstable(const_mut_refs, const_refs_to_cell)]
850
#[inline]
851
#[must_use]
852
pub const fn as_mut_ptr_range(&mut self) -> Range<*mut T> {
0 commit comments