Feature gate: #![feature(const_index)]
This is a tracking issue for the constness of the Index, IndexMut, and SliceIndex traits and const functions using them
Public API
const {
let x: &[u32] = ...;
let y = &x[5..];
}
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
Feature gate:
#![feature(const_index)]This is a tracking issue for the constness of the
Index,IndexMut, andSliceIndextraits and const functions using themPublic API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Indextraits #143921Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩