]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0435.fixed
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[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 }