-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Debug
on packed structs causes error on non-Copy
fields
#117406
Comments
This is intended, it is an attempt to make derives and |
Should, or can this be fixed? |
It cannot. repr(packed) sucks. |
Atleast, we should modify the error message to make it clearer? Something like
|
that's possible. |
@rustbot claim |
I'll let others implement the diagnostic message. |
The following code causes a compilation error.
Error
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: