pub fn check_variant_collisions(enum_info: &EnumInfo) -> Result<()>Expand description
Detect two SQL enum variants that collapse to the same Rust identifier after
to_upper_camel_case (e.g. "foo bar" and "foo_bar" both become FooBar).
Returns an error pointing at the offending pair so the user can rename one
side in the database before regenerating.