mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
5 lines
131 B
Rust
5 lines
131 B
Rust
const NUMBERS: [u8; 3] = [10, 20];
|
|
//~^ ERROR mismatched types
|
|
//~^^ HELP consider specifying the actual array length
|
|
fn main() {}
|