ICE due to "async" keyword #86550
Labels
C-bug
Category: This is a bug.
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.
I found a Internal Compiler Error on stable, beta and nighly and was able to reproduce it in the playground. If the function
do_something
is not async, everything works fine. If it is, the minimal verifiable example below will fail:Code (Playground)
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: