rustc_middle::ty::instance

Function needs_fn_once_adapter_shim

source
fn needs_fn_once_adapter_shim(
    actual_closure_kind: ClosureKind,
    trait_closure_kind: ClosureKind,
) -> Result<bool, ()>