-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Compiler crash with huge struct #29540
Comments
It's a stack overflow. |
Consider splitting your struct. |
We can work around this in derive-Debug |
@arielb1 it's a struct for parsing json with rustc_serialize. I'm not sure that I can split the struct and parse the json separately? |
Auto-generated structs suck. Can't you change your JSON? |
unfortunately, it's not my JSON, it's JSON coming out of ceph. I'm trying to parse it and deal with it but can't really change it :( |
Should be an easy fix to change |
When compiling the below struct, I get a compiler error:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: