mirror of https://github.com/rust-lang/rust.git
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`
|
||
|
}
|