-
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
ICE with crate & polymorphic constructor function #4545
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
ghost
assigned catamorphism
Feb 5, 2013
Struct ctors appear to be totally unimplemented cross-crate. I'll take this on, shouldn't be hard. |
reproduced in c202430. |
Not critical for 0.6; de-milestoning |
Different ICE, but still ICEs, with 0252c30 . Nominating for milestone 5, production-ready |
accepted for production-ready milestone |
This code now compiles just fine. Flagging as needstest. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
In somelib.rc:
In client.rs:
Do the following:
Notes:
pub struct S<T>(~[T])
orpub struct S,T>(())
alsocause ICEs.
pub struct S(())
does not cause an ICE.Backtrace follows:
The text was updated successfully, but these errors were encountered: