-
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 using a trait as a type alias #4016
Labels
Milestone
Comments
ghost
assigned nikomatsakis
Dec 4, 2012
Now I get a proper borrow checker error instead of an ICE:
but it compiles with no errors if I change the trait to be an actual |
Bumping to 0.7 |
This compiles now. Updated test case:
I'll check it in. |
ghost
assigned catamorphism
May 23, 2013
Test case is src/test/run-pass/issue-4016.rs |
RalfJung
added a commit
to RalfJung/rust
that referenced
this issue
Dec 8, 2024
Added epoll and eventfd for Android
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@graydon's workcache.rs file was trying to use a trait to make a type alias, which triggers an ICE:
It errors with:
If you use a proper
type
type alias, it compiles fine.The text was updated successfully, but these errors were encountered: