1 2 3 4 5 6 7 8 9 10 11 12
// check-pass // edition:2018 async fn foo(x: &[Vec<u32>]) -> u32 { 0 } async fn bar() { foo(&[vec![123]]).await; } fn main() { }