Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
liveness
/
liveness-move-call-arg.rs
blob: 98d12f5747aaeb9f11372a38796fc7b18bac2184 [
file
] [
log
] [
blame
]
#![
feature
(
box_syntax
)]
fn
take
(
_x
:
Box
<
isize
>)
{}
fn
main
()
{
let
x
:
Box
<
isize
>
=
box
25
;
loop
{
take
(
x
);
//~ ERROR use of moved value: `x`
}
}