Sign in
fuchsia
/
third_party
/
rust
/
d440e136e753210882d930c6f4884a43984f6ba0
/
.
/
src
/
test
/
ui
/
issues
/
issue-10398.rs
blob: 0405b2d01e2cc75949ffafc8d7ff2765388eb33b [
file
] [
log
] [
blame
]
#![
feature
(
box_syntax
)]
fn
main
()
{
let
x
:
Box
<
_
>
=
box
1
;
let
f
=
move
||
{
let
_a
=
x
;
drop
(
x
);
//~^ ERROR: use of moved value: `x`
};
f
();
}