3 The tracking issue for this feature is: [#29947]
5 [#29947]: https://github.com/rust-lang/rust/issues/29947
7 ------------------------
9 The `const_indexing` feature allows the constant evaluation of index operations
10 on constant arrays and repeat expressions.
15 #![feature(const_indexing)]
17 const ARR: [usize; 5] = [1, 2, 3, 4, 5];
18 const ARR2: [usize; ARR[1]] = [42, 99];