Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
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
();
}