-
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
ICE: instrument-coverage on generator-storage-dead-unwind.rs #85213
Comments
Hi, I also ran into this bug. It first occurs with the nightly-2021-05-08-x86_64-unknown-linux-gnu toolchain. nightly-2021-05-07-x86_64-unknown-linux-gnu still works. I am unsure how to specify the version number correctly, but this is what rustup tells me. This also affects the tokio-util package. I think, this is a duplicate of #85128 If someone wants to do the git bisect: |
Reduced: #![feature(generators)]
struct Foo();
impl Drop for Foo {
fn drop(&mut self) {}
}
fn take<T>(_x: T) {}
fn main() {
let _gen = || {
let a = Foo();
yield;
take(a);
};
} cargo bisect says this ICEs since e5f83d2 / #84797 cc @richkadel |
This is a duplicate of known issue reported here: #85081 and the change that caused it was reverted. The next nightly should resolve the problem. |
Should be fixed via the revert in PR #85196 |
@matthiaskrgr can you close this issue unless you can still reproduce it? (Should be fixed.) |
Confirmed, thanks! :) |
Code
code from
./src/test/mir-opt/generator-storage-dead-unwind.rs
Meta
rustc --version --verbose
:Error output
RUST_BACKTRACE=full rustc ./src/test/mir-opt/generator-storage-dead-unwind.rs -Zinstrument-coverage
Backtrace
The text was updated successfully, but these errors were encountered: