3 // compile-flags: --crate-type lib
10 // You are allowed to move out part of a struct to an async fn, you still
11 // have access to remaining parts after awaiting
12 async fn move_part_await_return_rest_struct() -> Vec<usize> {
13 let s = Small { x: vec![31], y: vec![19, 1441] };
18 async fn needs_vec(_vec: Vec<usize>) {}