mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 12:07:31 +00:00
12 lines
233 B
Rust
12 lines
233 B
Rust
![]() |
//@ 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
|
||
|
}
|