-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustc: internal compiler error: Cannot encode inference variable types #11677
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
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
This code is simpler (I guess) and produces the same error: trait X<T> {}
struct S<T> {f: ~X<T>, g: ~X<T>}
struct F;
impl X<int> for F {}
fn main() {
S {f: ~F, g: ~F};
} |
I ran the program from the previous comment against the current master, and got this backtrace:
|
Sawyer47
added a commit
to Sawyer47/rust
that referenced
this issue
Jun 27, 2014
This code used to cause an ICE Closes rust-lang#11677
Merged
bors
added a commit
that referenced
this issue
Jun 27, 2014
This code used to cause an ICE Closes #11677
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source:
Output:
rustc -v
uname -a
Tried to get a backtrace with
gdb
, but the binaries I'm using (https://launchpad.net/~hansjorg/+archive/rust) don't seem to have any debugging symbols.The text was updated successfully, but these errors were encountered: