Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
async-await
/
async-drop
/
partly-dropped-tuple.rs
blob: 147caaf4cfd1dcceee81ca7ec2b4a016d7267be4 [
file
] [
log
] [
blame
]
//@ edition: 2024
//@ build-pass
#![
crate_type
=
"lib"
]
#![
allow
(
incomplete_features
)]
#![
feature
(
async_drop
)]
async
fn
move_part_await_return_rest_tuple
()
->
Vec
<
usize
>
{
let
x
=
(
vec
![
3
],
vec
![
4
,
4
]);
drop
(
x
.
1
);
x
.
0
}