Function rustc_middle::ty::instance::needs_fn_once_adapter_shim
source · [−]fn needs_fn_once_adapter_shim(
actual_closure_kind: ClosureKind,
trait_closure_kind: ClosureKind
) -> Result<bool, ()>
fn needs_fn_once_adapter_shim(
actual_closure_kind: ClosureKind,
trait_closure_kind: ClosureKind
) -> Result<bool, ()>