]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-block-non-item-statement-3.rs
Rollup merge of #64603 - gilescope:unused-lifetime-warning, r=matthewjasper
[rust.git] / src / test / ui / consts / const-block-non-item-statement-3.rs
1 // run-pass
2 #![allow(dead_code)]
3
4 type Array = [u32; {  let x = 2; 5 }];
5
6 pub fn main() {
7     let _: Array = [0; 5];
8 }