## insert_discr_cast_to_u128

# Function insert_discr_cast_to_u128

Source

    fn insert_discr_cast_to_u128<'tcx>(
        tcx: TyCtxt<'tcx>,
        local_decls: &mut IndexVec<Local, LocalDecl<'tcx>>,
        block_data: &mut BasicBlockData<'tcx>,
        source_op: Operand<'tcx>,
        discr: TyAndSize<'tcx>,
        op_size: Size,
        offset: Option<Size>,
        source_info: SourceInfo,
    ) -> Place<'tcx>

Expand description

Inserts the cast of an operand (any type) to a u128 value that holds the discriminant value.