fn out_of_bounds_err<'a>(
dcx: DiagCtxtHandle<'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.