Skip to main content

constructs_desugared_body_coroutine

Function constructs_desugared_body_coroutine 

Source
fn constructs_desugared_body_coroutine(tcx: TyCtxt<'_>, did: LocalDefId) -> bool
Expand description

Whether did is an async fn, gen fn, async gen fn, or async closure, i.e. its body does nothing but construct a desugared body coroutine.