{"ast_node_type":"function","tokens":[{"end":68,"kind":"keyword","start":0,"text":"fn"}]}
    fn visit_variant(&mut self, variant: &'tcx hir::Variant<'tcx>) {
        self.check_attributes(variant.hir_id, variant.span, Target::Variant, None);