rust/tests/ui/invalid/invalid-path-in-const.rs

5 lines
130 B
Rust

fn main() {
fn f(a: [u8; u32::DOESNOTEXIST]) {}
//~^ ERROR no associated item named `DOESNOTEXIST` found for type `u32`
}