We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting the following error when trying to derive Hash32 for an enum:
Hash32
error: proc-macro derive panicked --> src/mac.rs:464:40 | 464 | #[derive(Clone, Copy, Debug, Eq, Hash, Hash32, PartialEq)] | ^^^^^^ | = help: message: #[derive(Hash)] doesn't currently support `enum` and `union`
It would be very useful to have support for enums!
The text was updated successfully, but these errors were encountered:
Assign numbers to InputPin variants
InputPin
d5c1570
What I actually want is to derive `hash32::Hash`, but that doesn't support enums (rust-embedded-community/hash32#3). This will do as a workaround.
core::hash
enum
FnvIndexMap
Successfully merging a pull request may close this issue.
I'm getting the following error when trying to derive
Hash32
for an enum:It would be very useful to have support for enums!
The text was updated successfully, but these errors were encountered: