'rustc' panicked at 'index out of bounds: the len is 385 but the index is 386' #103343
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 don't have an example yet; I'm pretty new to Rust. Given the output indicates that the entry_points::apigateway::create_token_set function is being type checked hopefully the following code snippets will be of assistance.
I do have another code base that I largely borrowed from where the signature is nearly the same other than the parameter being passed as &dyn (&dyn StorageService) now has an implementation that contains a Box (see code below).
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: