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