fn not_scalar<T: MatchArg>(
len: usize,
label: impl Fn(isize) -> Option<Cow<'static, str>>,
) -> MatchArgErrorExpand description
The error of a choice value of len strings label(i) (None for NA)
that is not one string: MatchArgError::IsNa when it holds an NA that
matches no choice (see match_na), else
MatchArgError::InvalidLength. The R helper decides the same way.