Function rustc_expand::mbe::transcribe::out_of_bounds_err
source · fn out_of_bounds_err<'a>(
cx: &ExtCtxt<'a>,
max: usize,
span: Span,
ty: &str
) -> Diag<'a>
Expand description
Used by meta-variable expressions when an user input is out of the actual declared bounds. For example, index(999999) in an repetition of only three elements.