Sign in
fuchsia
/
third_party
/
rust
/
f22bb2e72267890782897c208bbc9114d023dfc7
/
.
/
src
/
test
/
ui
/
nll
/
promotable-mutable-zst-doesnt-conflict.rs
blob: 3b06b0db370655f1c8d903f8c70bf58516667d9b [
file
] [
log
] [
blame
]
// Check that mutable promoted length zero arrays don't check for conflicting
// access
// check-pass
pub
fn
main
()
{
let
mut
x
:
Vec
<&[
i32
;
0
]>
=
Vec
::
new
();
for
_ in
0.
.
10
{
x
.
push
(&[]);
}
}