Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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`
}
}