2021 edition ICE when destructuring enum in async block #97378
Labels
A-closures
Area: Closures (`|…| { … }`)
A-edition-2021
Area: The 2021 edition
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=f15aa10e86cb1b621fc80dca0b8c856f
Meta
Only happens on 2021 edition
playground rust version:
Also exists in nightly:
Error output
Backtrace
The text was updated successfully, but these errors were encountered: