mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Resolve FIXME with async-await test
This commit is contained in:
parent
16033d1e58
commit
a45cde5ad0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user