#![allow(clippy::ptr_arg)] use swc_visit::define; #[derive(Debug, PartialEq)] pub struct Item { pub vec_opt1: Vec>, pub vec_opt2: Vec>, } #[derive(Debug, PartialEq)] pub enum Enum { Item(Item), } define!({ pub struct Item { pub vec_opt1: Vec>, pub vec_opt2: Vec>, } pub enum Enum { Item(Item), } });