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