index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
issues
/
issue-29743.rs
blob: 8e522a7482190d909ac9708c19049b83ad6e105c (
plain
)
1
2
3
4
5
6
7
//@ check-pass
fn
main
()
{
let
mut
i
=
[
1
,
2
,
3
];
i
[
i
[
0
]]
=
0
;
i
[
i
[
0
]
-
1
]
=
0
;
}