Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: hir: index out of bounds: the len is 5 but the index is 5 #473

Open
antoyo opened this issue Mar 16, 2024 · 3 comments
Open

ICE: hir: index out of bounds: the len is 5 but the index is 5 #473

antoyo opened this issue Mar 16, 2024 · 3 comments

Comments

@antoyo
Copy link
Contributor

antoyo commented Mar 16, 2024

See this issue: rust-lang/rust#122399

@RalfJung
Copy link
Member

In case it's useful, this is the diff for cranelift to fix the same issue: rust-lang/rustc_codegen_cranelift@e775fdc.

@antoyo
Copy link
Contributor Author

antoyo commented Aug 17, 2024

It will probably be easier by looking at the changes in the LLVM codegen, actually.
But thanks anyway.

@RalfJung
Copy link
Member

Ah okay. Those happened in rust-lang/rust#121644.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants