{"ast_node_type":"other","tokens":[{"end":39,"kind":"keyword","start":0,"text":"if"}]}
        if target == Target::ForeignMod
    fn check_link(&self, hir_id: HirId, attr: &Attribute, span: Span, target: Target) {
            && let hir::Node::Item(item) = self.tcx.hir_node(hir_id)