Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
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
}