Skip to content

Commit a45cde5

Browse files
committed
Resolve FIXME with async-await test
1 parent 16033d1 commit a45cde5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/test/ui/async-await/async-await.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,10 @@ fn async_fn_with_impl_future_named_lifetime<'a>(x: &'a u8) -> impl Future<Output
9999
}
100100
}
101101

102-
/* FIXME(cramertj) support when `type T<'a, 'b> = impl;` works
103102
async fn async_fn_multiple_args(x: &u8, _y: &u8) -> u8 {
104-
await!(wake_and_yield_once());
103+
wake_and_yield_once().await;
105104
*x
106105
}
107-
*/
108106

109107
async fn async_fn_multiple_args_named_lifetime<'a>(x: &'a u8, _y: &'a u8) -> u8 {
110108
wake_and_yield_once().await;

0 commit comments

Comments
 (0)