Skip to main content

lower_body_to_mir

Function lower_body_to_mir 

Source
pub fn lower_body_to_mir<'db>(
    db: &'db dyn HirDatabase,
    owner: InferBodyId<'db>,
    store: &ExpressionStore,
    infer: &InferenceResult<'db>,
    root_expr: ExprId,
    self_param: Option<BindingId>,
    params: &[Param<PatId>],
) -> Result<MirBody<'db>, MirLowerError<'db>>
Expand description

Extracts params from body.params/body.self_param and the callable signature, then delegates to lower_to_mir_with_store.