-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: rust: task failed at 'Assertion fcx.locals.contains_key(nid) failed', #3021
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
I'll take a look at this. |
FYI, I reproduced this with incoming. I'll investigate further. |
A more minimal example that pokes the same bug:
If I comment out the body of the |
impls, like other items, are certainly not supposed to refer to upvars. I think this constraint is enforced in resolve for nested fns---seems like resolve ought to enforce a similar constraint for impls etc. |
Ok, I'll look at why resolve isn't doing that, then. |
I understand what the bug is: resolve was resolving impl methods with a Resolve is doing something weird with def_ids for |
Fwiw siphash itself arrived in libcore yesterday. |
Fixed in a0d0584 |
Use Vec's binary search instead of hand-written one.
This is with a build of master. I'm testing with now a build of incoming (but my poor laptop is taking a while to get through the build of llvm...)
The text was updated successfully, but these errors were encountered: