Auto merge of #86185 - klensy:ast-val, r=petrochenkov
Auto merge of #86185 - klensy:ast-val, r=petrochenkov

simplify validate_generic_param_order

graydon/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust