-
Notifications
You must be signed in to change notification settings - Fork 13.4k
the compiler hit an unexpected failure path #16611
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
Comments
Can you provide the code that causes the ICE as well? |
Sure thing. https://github.com/ueliem/TinieR/blob/master/src/treetraverser.rs is the exact file. |
Minimal example: trait T {}
struct S;
impl<U> T for S {} In @ueliem's code, impl <String: ::std::fmt::Show, int: ::std::fmt::Show> ::std::fmt::Show for VariableType<String, int> { ... } which triggers the ICE. |
So this seems #16562. |
The interesting point is that the first (@ueliem In your example, you can remove |
Thanks, I removed that bit on the enum definition, and it compiled without the error. |
Closing as a dupe of #16562. |
It's a little vague, but I ran into this bug today. I'm not sure how to classify this bug. I'm running Mac OS X 10.9.4, and building with the latest nightly.
The text was updated successfully, but these errors were encountered: