Compiler panics after giving `await
is only allowed inside async
functions and blocks` error
#122023
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.
Code
Not exactly sure where the error is coming from. It happened in this commit. I am suspecting this line is the one causing it.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: