-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
debug ice: attempted to add with overflow #114912
Comments
Backtrace
|
I have no idea why this rust/compiler/rustc_hir_typeck/src/generator_interior/mod.rs Lines 650 to 656 in 27fb598
|
@rustbot claim |
Reason add 1 to 0 is to match the "pluralize" macro. In the macro, if x is not 1 (more than 1), then append "s" (indicating as plural). If x is 1, then append nothing. Thus satisfy the "pluralize" macro.
|
fix overflow in array length computation addressing rust-lang#114912
fix overflow in array length computation addressing rust-lang#114912
Rollup merge of rust-lang#115335 - reez12g:issue-114912, r=davidtwco fix overflow in array length computation addressing rust-lang#114912
This comment was marked as off-topic.
This comment was marked as off-topic.
Ok looks like this can be closed because the solution was merged in #115335 |
@rustbot claim |
Hello, I see someone else already assigned, but this issue is still "open" and has the "help wanted" tags. I'm new to contributing to Rust, so if you're willing to help, I'd be happy to help. Thanks! |
Hi David, Apekros has already posted a PR for this one: #116256 which has not been merged yet however. |
Code
rustc --edition=2021
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: