Skip to content

ICE with invalid default associated type #23159

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

Closed
theemathas opened this issue Mar 8, 2015 · 2 comments
Closed

ICE with invalid default associated type #23159

theemathas opened this issue Mar 8, 2015 · 2 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@theemathas
Copy link
Contributor

Discovered by insaneinside on IRC.
Reduced test case by me.

trait What {
    type Item;
}

trait Foo {
    type A;
    type B = <Self::A as What>::Item;
}

fn main() {}
@steveklabnik steveklabnik added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Mar 8, 2015
@jorisgio
Copy link

jorisgio commented Mar 8, 2015

Same issue as #23073

@theemathas
Copy link
Contributor Author

Closing as dupe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

3 participants