-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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: When using mismatching versions of the image and the glium_graphics crate #33515
Comments
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
May 24, 2016
Refactor `FnCtxt::autoderef` to use an external iterator and to not register any obligation from the main autoderef loop, but rather to register them after (and if) the loop successfully completes. Fixes rust-lang#24819 Fixes rust-lang#25801 Fixes rust-lang#27631 Fixes rust-lang#31258 Fixes rust-lang#31964 Fixes rust-lang#32320 Fixes rust-lang#33515 Fixes rust-lang#33755
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 28, 2016
refactor autoderef to avoid prematurely registering obligations Refactor `FnCtxt::autoderef` to use an external iterator and to not register any obligation from the main autoderef loop, but rather to register them after (and if) the loop successfully completes. Fixes rust-lang#24819 Fixes rust-lang#25801 Fixes rust-lang#27631 Fixes rust-lang#31258 Fixes rust-lang#31964 Fixes rust-lang#32320 Fixes rust-lang#33515 Fixes rust-lang#33755 r? @eddyb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using mismatching versions of the image and the glium_graphics crate (i.e. glium_graphics depends on an older version of image than we do), the following code causes an ICE. The ICE goes away when using a matching version of image.
While reducing the example, the len and index changed, but the difference of two stayed the same.
An example project can be found here: https://github.com/Moredread/rust-ice
I tried this code:
This causes an ICE:
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: