useenum_path::EnumPath;// `foo` and `foo.bar` collide under the default `.` delimiter, since
// any input starting with `foo.bar` would also match `foo`.
#[derive(EnumPath)]#[enum_path(FromStr)]enumBad{#[enum_path(rename ="foo")]
Short,#[enum_path(rename ="foo.bar")]
Long(String),}fnmain(){}