-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: not yet implemented: FIXME(async_closures): Lower these to SMIR #134246
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
There's already a fixme, do we also need an issue 😂 ? |
async closures have been stabilised now, I suspect that this should have been fixed before stabilisation? |
I don't think they are @matthiaskrgr |
I think they are :) #132706 (comment) |
Damn, I thought it could have been stabilized since last nightly but didn't find the PR. My bad. :) |
afaik there are tools (such as kani) who use stable-mir to perform analysis on crates and these will probably just ICE on any kind of stable async closure code. |
We can remove the todo if you want, but stable mir is, amusingly, not stable anyways. |
Rollup merge of rust-lang#134295 - compiler-errors:smir-async-closure, r=oli-obk Encode coroutine-closures in SMIR Fixes rust-lang#134246 r? oli-obk
snippet:
Version information
Possibly related line of code:
rust/compiler/rustc_smir/src/rustc_smir/convert/mir.rs
Lines 563 to 575 in f4f0faf
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Zunpretty=stable-mir --edition=2018
Program output
The text was updated successfully, but these errors were encountered: