miri::helpers

Function check_min_arg_count

Source
pub fn check_min_arg_count<'a, 'tcx, const N: usize>(
    name: &'a str,
    args: &'a [OpTy<'tcx>],
) -> InterpResult<'tcx, &'a [OpTy<'tcx>; N]>
Expand description

Check that the number of args is at least the minumim what we expect.