Skip to main content

lower_block_ir

Function lower_block_ir 

Source
pub fn lower_block_ir(block: &Block, cx: &mut LowerIrCtx<'_>) -> IrExpr
Expand description

Lower a block as a value — no Return wrapping (see lower_fn_body_ir’s doc comment for the distinction). A block’s own type is always its tail’s type.