Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
src
/
test
/
ui
/
moves
/
moves-based-on-type-tuple.rs
blob: 828d90cd7ac7f4b48c4e2212c388e0e0a920cd0e [
file
] [
log
] [
blame
]
#![
feature
(
box_syntax
)]
fn
dup
(
x
:
Box
<
isize
>)
->
Box
<(
Box
<
isize
>,
Box
<
isize
>)>
{
box
(
x
,
x
)
//~^ use of moved value: `x` [E0382]
}
fn
main
()
{
dup
(
box
3
);
}