lower_to_mir_with_store

Function lower_to_mir_with_store 

pub fn lower_to_mir_with_store<'db>(
    db: &'db (dyn HirDatabase + 'static),
    owner: DefWithBodyId,
    store: &ExpressionStore,
    infer: &InferenceResult,
    root_expr: Idx<Expr>,
    params: impl Iterator<Item = (Idx<Pat>, Ty<'db>)> + Clone,
    self_param: Option<(Idx<Binding>, Ty<'db>)>,
    is_root: bool,
) -> Result<MirBody, MirLowerError>
Expand description

§Parameters

  • is_root: true when root_expr is the body’s top-level expression (picks bindings with no owner); false when lowering an inline const or anonymous const (picks bindings owned by root_expr).