-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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] assertion failed: (left == right) && (right == left)
(left: 11
, right: 0
)
#16763
Comments
I just got this exact same error on the latest nightly. Only material difference was that it's now line 517 of base.rs
|
@tupshin how does one reproduce this? https://gitlab.com/Bastacyclop/rust_box2d at cbc7aa25707532de40e1c0f98107f2b6753346c3 no longer works with current cargo because it uses a build script written in shell, and cargo expects rust. |
@tamird I just made a quick update for rust nightly, however I still use the workaround I found around the ICE. So if you really want to try to reproduce this, I'd say putting back the incriminated structure on top of this update should do the trick. I believe this commit sums up what you'd have to restore. |
@Bastacyclop could you try it? This issue is pretty stale; I'm reluctant to reapply an old patch to code that has now drifted this much. |
@tamird I can, but I'll take my time |
@Bastacyclop The source code you link to is not public/not available anymore. |
@skade Sorry, I moved the project to github and hid the old repository, it should be fixed. |
@Bastacyclop Thank you 👍 |
It's been a very long time, are you still seeing this ICE? I can't build your project as I don't have the wrapper installed. |
@steveklabnik I rewrote the code in a different way to avoid the ICE at the time and did not look back. I don't think it's worthwhile to try to reproduce this anymore. |
Cool, let's close. Future readers: if you can reproduce this, please let me know! |
Add `fn index()` and `fn parent_fn()` accessors for `hir::Param`/`hir::SelfParam` (the PR is motivated by an outside use of the `ra_ap_hir` crate that would benefit from being able to access a `hir::Param`'s/`hir::SelfParam`'s index and parent function)
I have no idea where is the problem coming from, so I have no minimal example.
It happened with a Box2D binding I'm currently working on.
The binding is compiling fine but not the example:
The source code is here.
The library code is in the same repository.
The only hint I have is that my previous version doesn't have this problem.
The main thing I changed between those versions is that instead of using
T
,TPtr<'l>
andTMutPtr<'l>
objects I introducedOwned<T>
,Ref<'l, T>
andRefMut<'l, T>
objects. So probably the problem is related to these objects, which code is located at the library main file.Edit: the project is now hosted on https://github.com/Bastacyclop/rust_box2d
The text was updated successfully, but these errors were encountered: