Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
72968e519834213d69989271fd6dfb2cdc64493c
/
.
/
tests
/
ui
/
consts
/
array-literal-len-mismatch.rs
blob: b30ff61a99c53cb260c6125ac0d9f4b8a6bf7dc2 [
file
] [
log
] [
blame
]
const
NUMBERS
:
[
u8
;
3
]
=
[
10
,
20
];
//~^ ERROR mismatched types
//~^^ HELP consider specifying the actual array length
fn
main
()
{}