Skip to content

ICE on misplaced lang attribute #10313

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
klutzy opened this issue Nov 6, 2013 · 2 comments
Closed

ICE on misplaced lang attribute #10313

klutzy opened this issue Nov 6, 2013 · 2 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@klutzy
Copy link
Contributor

klutzy commented Nov 6, 2013

#[no_std];
#[lang="start"] mod x {}
fn main() {}
error: internal compiler error: node_id_to_type: no type for node `mod x (id=2)`
@huonw
Copy link
Member

huonw commented Nov 6, 2013

Related to #9307 (tangentially, at least).

@thestinger
Copy link
Contributor

I think we can consider this to be a duplicate of that bug, this is what I meant by type-check.

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