1 2 3 4 5 6 7 8 9
use enum_helper::EnumStr; #[derive(EnumStr)] #[enum_str(impl_from_str(bogus))] enum Foo { Bar, } fn main() {}