Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
liveness
/
liveness-use-after-move.rs
blob: 46102ca1eb11ebe3d58282e0a63cb881080d1956 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
:
Box
<
_
>
=
5.into
();
let
y
=
x
;
println
!(
"{}"
,
*
x
);
//~ ERROR borrow of moved value: `x`
y
.
clone
();
}