hir_ty::mir

Function monomorphized_mir_body_for_closure_query

source
pub fn monomorphized_mir_body_for_closure_query(
    db: &dyn HirDatabase,
    closure: ClosureId,
    subst: Substitution,
    trait_env: Arc<TraitEnvironment>,
) -> Result<Arc<MirBody>, MirLowerError>