flowistry_pdg_construction::utils

Function is_async

Source
pub fn is_async(tcx: TyCtxt<'_>, def_id: DefId) -> bool
Expand description

An async check that does not crash if called on closures.