ICE: the static const safety checks accepted mutable references they should not have accepted
with const_heap
and intrinsics
#140268
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.
The code is generated by a fuzzer and reduced manually. I tried to search similar issue but got no results.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
Please do teach me if I've done anything wrong :)
The text was updated successfully, but these errors were encountered: