ICE: assertion left == right failed
in rustc_const_eval/src/interpret/cast.rs unsize_into
#126982
Labels
C-bug
Category: This is a bug.
F-coerce_unsized
The `CoerceUnsized` trait
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
Meta
rustc --version --verbose
:Error output
Backtrace
Note
compiler/rustc_const_eval/src/interpret/cast.rs#L442
rust/compiler/rustc_const_eval/src/interpret/cast.rs
Lines 431 to 442 in fda509e
unsize_into: invalid conversion
inrustc_const_eval/src/interpret/cast.rs
#126269 might be related@rustbot label +F-coerce_unsized
The text was updated successfully, but these errors were encountered: