mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
5 lines
130 B
Rust
5 lines
130 B
Rust
fn main() {
|
|
fn f(a: [u8; u32::DOESNOTEXIST]) {}
|
|
//~^ ERROR no associated item named `DOESNOTEXIST` found for type `u32`
|
|
}
|