Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
async-await
/
no-move-across-await-tuple.rs
blob: a656332698c43bf5be0048574d0ae744405f8743 [
file
] [
log
] [
blame
]
// edition:2018
// compile-flags: --crate-type lib
async
fn
no_move_across_await_tuple
()
->
Vec
<
usize
>
{
let
x
=
(
vec
![
3
],
vec
![
4
,
4
]);
drop
(
x
.
1
);
nothing
().
await
;
x
.
1
//~^ ERROR use of moved value: `x.1`
}
async
fn
nothing
()
{}