-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
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
Incorrect derive partial eq/Hash for struct contains incomplete array field #1093
Comments
Yeah, I don't think there's a good way of deriving |
I thought we were already treating incomplete and zero-sized arrays as not-derive-able, but I guess not... Thanks for the bug report @photoszzt :) |
@fitzgen I think the fixed version hasn't published. The version that has this problem is 0.30 which is what I get from crates.io. I try the master version, it doesn't have the problem for partial eq but fails for hash. |
@highfive assign me. |
Hey @photoszzt! Thanks for your interest in working on this issue. It's now assigned to you! |
Input C/C++ Header
Bindgen Invocation
Actual Results
Expected Results
Either implement Hash and PartialEq for IncompleteArrayField or don't derive Hash and PartialEq for the struct.
The text was updated successfully, but these errors were encountered: