mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +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`
|
|
}
|