fn validate_generic_param_order(
    dcx: &DiagCtxt,
    generics: &[GenericParam],
    span: Span
)
Expand description

Checks that generic parameters are in the correct order, which is lifetimes, then types and then consts. (<'a, T, const N: usize>)