rustc_borrowck::diagnostics::mutability_errors

Function is_closure_like

Source
fn is_closure_like(ty: Ty<'_>) -> bool
Expand description

If the type is a Coroutine, Closure, or CoroutineClosure