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