-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Index out-of-bounds in rustc when running "cargo llvm-cov" on function that returns impl AsyncFnMut()
#135293
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
Does this repro on a variant without |
If this doesn't reproduce on nightly rustc, then there's nothing we can do here :) So yes, please check that. |
I tried this locally, on latest nightly, and it does not ICE:
|
"cargo +nightly llvm-cov" does not repro for me |
I guess this is #131190 (fixed in 1.84). |
Then I think we can close this, thank you for the report. |
I see 1.84 was just released today, great! I can confirm that it is fixed in 1.84, thanks. |
Minimal example below.
Code compiles with
cargo build
but rustc crashes when runningcargo llvm-cov
.RUSTC_BOOSTRAP="1" is set so that feature(async_closure) can be used with 1.83 stable compiler.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: