Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
src
/
test
/
ui
/
consts
/
const-prop-ice2.rs
blob: e5fd79f11676e76f456263be064f26e2a60e96b1 [
file
] [
log
] [
blame
]
fn
main
()
{
enum
Enum
{
One
=
1
}
let
xs
=[
0
;
1
as
usize
];
println
!(
"{}"
,
xs
[
Enum
::
One
as
usize
]);
//~ ERROR the len is 1 but the index is 1
}