summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0435.fixed
blob: fdf896d2dbbbd3f0a3aaedf4fbce94d097cb7084 (plain)
1
2
3
4
5
6
// run-rustfix
fn main () {
    #[allow(non_upper_case_globals)]
    const foo: usize = 42;
    let _: [u8; foo]; //~ ERROR E0435
}