Is reordering enum variants considered semver-major, minor, or patch? It definitely could change the outcomes of use of std::mem::discriminant(), but some technically-might-be-breaking changes are not considered semver-major (e.g. adding a method) so I feel this isn't a clear-cut case.
The API evolution RFC does not address this either.
Is reordering enum variants considered semver-major, minor, or patch? It definitely could change the outcomes of use of
std::mem::discriminant(), but some technically-might-be-breaking changes are not considered semver-major (e.g. adding a method) so I feel this isn't a clear-cut case.The API evolution RFC does not address this either.