cairo_lang_lowering::lower::context

Function lowering_flow_error_to_sealed_block

Source
pub fn lowering_flow_error_to_sealed_block(
    ctx: &mut LoweringContext<'_, '_>,
    builder: BlockBuilder,
    err: LoweringFlowError,
) -> Maybe<SealedBlockBuilder>
Expand description

Converts a lowering flow error to the appropriate block builder end, if possible.