ICE: index out of bounds: the len is 53 but the index is 54 #99970
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
I have this exact function in my code:
When I run
cargo check
, it prints the correctmismatched types
compiler error.However, when I made the function
async
:cargo check
produces, apparently, two internal errors, shown below.I can provide additional information if needed.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: