use uniplate::derive::Uniplate; #[derive(PartialEq,Eq,Clone,Uniplate)] #[uniplate()] enum NoTrailingComma { B(Vec) } #[derive(PartialEq,Eq,Clone,Uniplate)] #[uniplate()] enum TrailingComma { B(Vec), } pub fn main() { }