impl_stable_hash_for!
does not support enums with named fields
#54075
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
In miri, we are now carrying some hand-written implementations of
HashStable
because the macroimpl_stable_hash_for!
does not support enum variants with named fields, e.g.This is rather annoying and also error-prone, e.g. the manual implementations forgot to hash the discriminant.
impl_stable_hash_for!
should support enums like the above.The text was updated successfully, but these errors were encountered: