-
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
Unexpected panic: arithmetic operation overflowed #23084
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: