blob: 147caaf4cfd1dcceee81ca7ec2b4a016d7267be4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//@ 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
}
|