pub fn core_enum_path(enum_def: &EnumDef, core_import: &str) -> String
Derive the Rust import path for an enum, replacing hyphens with underscores.