rust/tests/ui/invalid/invalid-path-in-const.rs
2023-01-11 09:32:08 +00:00

5 lines
130 B
Rust

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