{"ast_node_type":"function","tokens":[{"end":97,"kind":"keyword","start":0,"text":"fn"}]}
fn validate_generic_param_order(dcx: DiagCtxtHandle<'_>, generics: &[GenericParam], span: Span) {
/// which is lifetimes, then types and then consts. (`<'a, T, const N: usize>`)
    let mut max_param: Option<ParamKindOrd> = None;