#![no_implicit_prelude] use ::enum_tools::EnumTools; #[derive(EnumTools, Debug, Clone, Copy, Eq, PartialEq)] #[repr(i8)] pub(crate) enum EG { #[enum_tools(rename = "A*")] A, B = "6", C, D, } fn main() {}