Function rustc_borrowck::diagnostics::mutability_errors::is_closure_like
source ยท fn is_closure_like(ty: Ty<'_>) -> bool
Expand description
If the type is a Coroutine
, Closure
, or CoroutineClosure