Function rustc_ast_passes::ast_validation::validate_generic_param_order
source ยท 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>
)