]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0435.fixed
Rollup merge of #82259 - osa1:issue82156, r=petrochenkov
[rust.git] / src / test / ui / error-codes / E0435.fixed
1 // run-rustfix
2 fn main () {
3     #[allow(non_upper_case_globals)]
4     const foo: usize = 42;
5     let _: [u8; foo]; //~ ERROR E0435
6 }