-
Notifications
You must be signed in to change notification settings - Fork 13.3k
error: internal compiler error: node_id_to_type: no type for node unknown node (id=3332)
#10091
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
Comments
A (link to a) non-isolated test-case is better than no test at all. However, based on the backtrace, it looks like it might be a problem with either a |
Oh, right. Here is the code I'm working on: |
Possible duplicate? #9942 |
I'm getting something very similar. I can't really reduce the test case though, because it seems totally arbitrary what does and doesn't trigger it, and commenting out too much stuff "fixes" it. I'm also doing stuff that uses gl-rs and glfw-rs... I get a very similar traceback, inside lookup_constness and everything. The actual traceback points to a failure in a line that looks like else if window.get_key(glfw::KeyW) == glfw::Press Specifically the Edit: I may as well throw the code up: https://gist.github.com/JarrettBillingsley/7983334 it's one of the lines on 601, 603, or 605 that it barfs on, I can't really tell (my libsyntax wasn't built with debug info). |
Closing, gl-rs and glfw-rs are a moving target, and the code example is largely outdated. We have tools to help reduce code samples now, but I think that these may be beyond saving. |
fix manual_filter false positive fixes rust-lang#10088 fixes rust-lang#9766 changelog: FP: [`manual_filter`]: Now ignores if expressions where the else branch has side effects or doesn't return `None` [rust-lang#10091](rust-lang/rust-clippy#10091) <!-- changelog_checked -->
GDB backtrace:
rustc version:
rustc 0.9-pre (950add4 2013-10-26 02:16:08 -0700)
Host OS: Arch Linux x86_64
Sorry for no isolated test case, error appears when compiling a 500ish line source file and I have no idea what is triggering the issue.
The text was updated successfully, but these errors were encountered: