]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-prop-ice.rs
Rollup merge of #64603 - gilescope:unused-lifetime-warning, r=matthewjasper
[rust.git] / src / test / ui / consts / const-prop-ice.rs
1 fn main() {
2     [0; 3][3u64 as usize]; //~ ERROR the len is 3 but the index is 3
3 }