Calling FnMut on immutable reference causes: internal compiler error: impossible case reached #82660
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
Change
&self.snapshot
to&mut self.snapshot
would make it work.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: