You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue just happened in the time crate in v0.3.35: time-rs/time#675
obi1kenobi
changed the title
Is replacing an enum with a typedef semver-major or just a hazard?
Replacing an enum with a typedef is breaking and a hazard, but not semver-major
Apr 10, 2024
Replacing an enum with a typedef is a breaking change, due to the inability to glob-import via the typedef.
But not all breaking changes are major — so is this one major? Is it minor? Should it instead just be a
warn
level lint pointing out the hazard?Playground link
Example courtesy of @aDotInTheVoid.
The text was updated successfully, but these errors were encountered: