{"ast_node_type":"other","tokens":[{"end":30,"kind":"keyword","start":0,"text":"span:"}]}
        span: constraint.span,
    let mut err = cx.dcx().create_err(AssocItemConstraintsNotAllowedHere {
        fn_trait_expansion: if let Some((_, segment, span)) = segment