ICE: hir: index out of bounds: the len is 5 but the index is 5
antoyo opened this issue · 3 comments
antoyo commented
See this issue: rust-lang/rust#122399
RalfJung commented
In case it's useful, this is the diff for cranelift to fix the same issue: rust-lang/rustc_codegen_cranelift@e775fdc.
antoyo commented
It will probably be easier by looking at the changes in the LLVM codegen, actually.
But thanks anyway.
RalfJung commented
Ah okay. Those happened in rust-lang/rust#121644.