Skip to content
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 unbound node ID and cross crate traits #3276

Closed
erickt opened this issue Aug 25, 2012 · 1 comment
Closed

ICE with unbound node ID and cross crate traits #3276

erickt opened this issue Aug 25, 2012 · 1 comment

Comments

@erickt
Copy link
Contributor

erickt commented Aug 25, 2012

This may be a dup of #3108. Here's an distilled example of the error: https://gist.github.com/3458927. It fails with:

error: internal compiler error: node_id_to_type: unbound node ID unknown node (id=107518)

I tried importing the trait into the local scope, but that didn't trigger the error.

@erickt
Copy link
Contributor Author

erickt commented Aug 29, 2012

@brson pointed out that I was using a rather old form of syntax. When I updated to:

struct Deserializer {
    x: ()
}

impl Deserializer: std::serialization::Deserializer {
    ...
}

it worked. I'll file an issue to get this old syntax removed.

@erickt erickt closed this as completed Aug 29, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
allow specifying package with -p
jaisnan pushed a commit to jaisnan/rust-dev that referenced this issue Jul 29, 2024
It shouldn't assume that the body of statics are available otherwise the
compiler will ICE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant