2020-08-03 21:13:13 -04:00
|
|
|
//@ check-pass
|
2023-10-19 21:46:28 +00:00
|
|
|
// manually desugared version of an `async fn` (but with a closure instead of a coroutine)
|
2020-07-09 09:13:59 -04:00
|
|
|
pub fn a() -> impl Fn() -> u32 {
|
|
|
|
|
|| content::doesnt::matter()
|
|
|
|
|
}
|