]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0435.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[rust.git] / src / test / ui / error-codes / E0435.rs
1 // run-rustfix
2 fn main () {
3     #[allow(non_upper_case_globals)]
4     let foo: usize = 42;
5     let _: [u8; foo]; //~ ERROR E0435
6 }