-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Internal compiler error: index out of bounds #12751
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
I get the same error yesterday and and the problem was the unused unnamed parameters in a trait with default methods. |
I do not see a concrete test case. Can you please provide one, preferably a minimal one? |
Closing as a likely dupe of #13775. If it's different though, feel free to reopen! |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Aug 8, 2024
Fixes rust-lang#12751 changelog: Fix [`redundant_slicing`] when the slice is behind a mutable reference
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Aug 8, 2024
Fix [`redundant_slicing`] when the slice is behind a mutable reference Fixes rust-lang#12751 changelog: Fix [`redundant_slicing`] when the slice is behind a mutable reference and a immutable reference is expected.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to update a library to the most recent Rust, but ran into this issue. Basically I get this error:
I have no idea though, what in the codebase causes this. Version info:
The text was updated successfully, but these errors were encountered: