lower_simple_match

Function lower_simple_match 

Source
pub fn lower_simple_match(
    func: &mut FunctionMIR,
    scrutinee: Place,
    _scrutinee_ty: Ty,
    arms: Vec<(Pat, BasicBlockId)>,
    default_block: BasicBlockId,
    span: Span,
) -> BasicBlockId
Expand description

Helper to create a simple match for common cases