]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-index-feature-gate.rs
Rollup merge of #107004 - compiler-errors:new-solver-new-candidates-2, r=lcnr
[rust.git] / tests / ui / consts / const-index-feature-gate.rs
1 // run-pass
2 #![allow(dead_code)]
3 const ARR: [usize; 1] = [2];
4 const ARR2: [i32; ARR[0]] = [5, 6];
5
6 fn main() {
7 }