Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-54348.rs
blob: 5c38d7c42f6b2797b2f1cf1c2532facea982a4f7 [
file
] [
log
] [
blame
]
// build-fail
fn
main
()
{
[
1
][
0u64
as
usize
];
[
1
][
1.5
as
usize
];
//~ ERROR operation will panic
[
1
][
1u64
as
usize
];
//~ ERROR operation will panic
}