-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Unexpected panic: arithmetic operation overflowed #23084
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Compiling github.com/tomaka/glium/ produces the same error on win8 64-bit. |
I can confirm that there is no panic with yesterday's build:
|
Appears fixed with glium on today's nightly. |
I wonder whether the overflow in the compiler was actually fixed, or whether we just stopped enabling overflow checks in the compiler. I think |
I received this overflow on the new rust build, I ended up changing a function from usize to accept i8, instead of using "as i8" inside the function-- which solved the issue for me |
Seems to be related to #23407 |
Does anyone know of a minimal example of this? |
This is the codemap span bug. It doesn't occur in new versions of rustc. |
Encountered while compiling kubkon/rust-GSL@fb229ed on Yosemite. Travis reported the same error.
Rustc version:
Backtrace:
The text was updated successfully, but these errors were encountered: