{"ast_node_type":"other","tokens":[{"end":85,"kind":"keyword","start":0,"text":"ty::Adt(..)"}]}
                ty::Adt(..) => errors::OnlyCurrentTraits::Outside { span, note: () },
            let mut diag = tcx.dcx().create_err(match trait_ref.self_ty().kind() {
                _ if trait_ref.self_ty().is_primitive() => {