{"ast_node_type":"variable","tokens":[{"end":67,"kind":"keyword","start":0,"text":"if"}]}
        if let hir::ItemKind::Trait(_, _, _, ident, ..) = item.kind
        // the latter will report `where_clause_object_safety` lint.
            && cx.tcx.is_dyn_compatible(def_id)