Open
Description
Source:
#![feature(async_closure)]
pub fn demo(_: impl async Fn() -> i32) {}
Current rendered output (local, etc. — more generally: HIR-based) below (issue: dropping the trait bound modifier async
).
pub fn demo(_: impl Fn() -> i32)
Current rendered output (inlined cross-crate re-export, etc. — more generally: middle-based) below (issue: leaking the internal desugaring):
pub fn demo(_: impl AsyncFn<(), Output = i32>)
Tracking: