-
Notifications
You must be signed in to change notification settings - Fork 489
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
Improve traits coverage for "interesting" structs #656
Labels
enhancement
New feature or request
Comments
|
Sounds good. I managed to work around it by Creating a vector, and extracting the vector element. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Struct that are or contain unions, include complex arrays, are packed or contain nested packed structs, are all very limited in that they don't receive various trait implementations like PartialEq, Eq, Default, and Debug. Some of these are reasonable, but others just need a bit more help. For example, this warning just started firing in nightly builds and needed a workaround for Windows to build cleanly:
rust-lang/rust#82523
Fortunately, the issue mentions a simple way to support it.
The text was updated successfully, but these errors were encountered: