core is now compilable
This commit is contained in:
parent
e80c020445
commit
63e0ddbf1d
21 changed files with 85 additions and 253 deletions
|
@ -1650,9 +1650,8 @@ impl<T> *const [T] {
|
|||
/// }
|
||||
/// ```
|
||||
#[unstable(feature = "slice_ptr_get", issue = "74265")]
|
||||
#[rustc_const_unstable(feature = "const_slice_index", issue = "none")]
|
||||
#[inline]
|
||||
pub const unsafe fn get_unchecked<I>(self, index: I) -> *const I::Output
|
||||
pub unsafe fn get_unchecked<I>(self, index: I) -> *const I::Output
|
||||
where
|
||||
I: SliceIndex<[T]>,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue