Internal Compiler Error when writing to an immutable reference #82239
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.
I tried to minimize the code as much as possible. Basically in this code, we are trying to write using an immutable reference.
For some reason, it panics instead of pointing out the problem.
I created a repository with a proof of concept. If you need more info I'm happy to help.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: