-
Notifications
You must be signed in to change notification settings - Fork 13k
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
rustc panics on deriving Debug for an Enum containing a Variant with a Trait member #29283
Comments
Also panics on
|
Unsized enums don't work at all right now, unfortunately. Dup of #16812 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rustc
panics if one tries to compile a file, whereDebug
is derived for anenum
that contains a constructor with atrait
member, when thetrait
extendsDebug
.Compile following file
bug.rs
fails:Meta
rustc --version --verbose
:RUST_BACKTRACE=1 rustc bug.rs
:The text was updated successfully, but these errors were encountered: