Function rustc_ty_utils::ty::asyncness
source · fn asyncness(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Asyncness
Expand description
Check if a function is async.
fn asyncness(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Asyncness
Check if a function is async.