pub fn return_a_unit(
ctx: &mut LoweringContext<'_, '_>,
builder: BlockBuilder,
location: LocationId,
is_early_return: bool,
) -> Result<SealedBlockBuilder, LoweringFlowError>
Expand description
Generates lowering to return a unit.
pub fn return_a_unit(
ctx: &mut LoweringContext<'_, '_>,
builder: BlockBuilder,
location: LocationId,
is_early_return: bool,
) -> Result<SealedBlockBuilder, LoweringFlowError>
Generates lowering to return a unit.