Open
Description
Feature gate: #![feature(const_index)]
This is a tracking issue for the constness of the Index
trait and const functions using it
Public API
const {
let x: &[u32] = ...;
let y = &x[5..];
}
Steps / History
(Remember to update the S-tracking-*
label when checking boxes.)
- Depends on Tracking Issue for const_slice_index #143772
- Implementation: WIP, need this issue to link to from the code
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.