1 2 3 4 5 6 7 8 9
use enum_helper::EnumKind; #[derive(EnumKind)] #[enum_kind(unknown)] enum Foo { Bar, } fn main() {}