[−][src]Function rustc_ast_passes::ast_validation::validate_generic_param_order

pub(in ast_validation) fn validate_generic_param_order<'a>(
    sess: &Session,
    handler: &Handler,
    generics: impl Iterator<Item = (ParamKindOrd, Option<&'a [GenericBound]>, Span, Option<String>)>,
    span: Span
)

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