fn validate_generic_param_order(
dcx: DiagCtxtHandle<'_>,
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>
)