Sign in
fuchsia
/
third_party
/
rust
/
f22bb2e72267890782897c208bbc9114d023dfc7
/
.
/
src
/
test
/
ui
/
nll
/
borrow-use-issue-46875.rs
blob: 42e28b9674b3097bc7cb340e2821ea3693d72b65 [
file
] [
log
] [
blame
]
// run-pass
fn
vec
()
{
let
mut
_x
=
vec
![
'c'
];
let
_y
=
&
_x
;
_x
=
Vec
::
new
();
}
fn
int
()
{
let
mut
_x
=
5
;
let
_y
=
&
_x
;
_x
=
7
;
}
fn
main
()
{
vec
();
int
();
}