Resolve FIXME with async-await test

This commit is contained in:
varkor 2019-08-02 01:14:33 +01:00
parent 16033d1e58
commit a45cde5ad0

View File

@ -99,12 +99,10 @@ fn async_fn_with_impl_future_named_lifetime<'a>(x: &'a u8) -> impl Future<Output
}
}
/* FIXME(cramertj) support when `type T<'a, 'b> = impl;` works
async fn async_fn_multiple_args(x: &u8, _y: &u8) -> u8 {
await!(wake_and_yield_once());
wake_and_yield_once().await;
*x
}
*/
async fn async_fn_multiple_args_named_lifetime<'a>(x: &'a u8, _y: &'a u8) -> u8 {
wake_and_yield_once().await;