ICE: type mismatch when copying!
with no feature provided
#124552
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
(reduced)
Original Code
Meta
rustc --version --verbose
:Command
rustc
Error output
Backtrace
Note
type mismatch when copying
#120016 has the same ICE location, but this one doesn't require any feature to make ICE.compiler/rustc_const_eval/src/interpret/place.rs:849:13
rust/compiler/rustc_const_eval/src/interpret/place.rs
Lines 848 to 855 in 0ad927c
tests/ui/static/static-items-cant-move.rs
rust/tests/ui/static/static-items-cant-move.rs
Lines 5 to 10 in 0ad927c
The text was updated successfully, but these errors were encountered: