Skip to main content

ty_is_future

Function ty_is_future 

Source
pub fn ty_is_future<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Expand description

Checks if the given Ty is either an impl Future or async coroutine.