{"ast_node_type":"other","tokens":[{"end":64,"kind":"keyword","start":0,"text":"if"}]}
        if matches!(def_kind, DefKind::Impl { of_trait: false })
        // we have diagnosed the unused trait.
            || (def_kind == DefKind::Trait && live_symbols.contains(&item.owner_id.def_id))