ICE: expected bits of isize, got Ty(3_isize,)
#125799
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.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
(hand-reduced)
(original)
Meta
rustc --version --verbose
:Error output
Command:
rustc
Backtrace
Note
rustc_middle/src/mir/consts.rs L374
rust/compiler/rustc_middle/src/mir/consts.rs
Lines 370 to 375 in 6f3df08
expected bits of u8, got Ty(10_u32,)
#123092 has identical ICE location.The text was updated successfully, but these errors were encountered: