-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 compiling with futures compat #61986
Comments
Minimized: #![feature(async_await)]
async fn bar() -> Option<()> {
Some(())
}
async fn listen() {
while let Some(_) = bar().await {
String::new();
}
}
fn main() {
listen();
} |
The ICE goes away if you assign |
I believe this will be fixed by #61872 |
This is indeed fixed-- I've opened #62155 with a regression test. |
Add regression test for MIR drop generation in async loops Fixes rust-lang#61986. r? @Centril
Add regression test for MIR drop generation in async loops Fixes rust-lang#61986. r? @Centril
Add regression test for MIR drop generation in async loops Fixes rust-lang#61986. r? @Centril
Add regression test for MIR drop generation in async loops Fixes rust-lang#61986. r? @Centril
Attempting to shim futures-preview Stream to a tokio futures 0.1 Stream results in ICE when done this way. Most minimal example I can give
The text was updated successfully, but these errors were encountered: