ICE: expected int of size 8, but got size 1
in rustc_middle/src/ty/consts/int.rs
with feature adt_const_params
#131052
Labels
C-bug
Category: This is a bug.
F-adt_const_params
`#![feature(adt_const_params)]`
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
(manually reduced)
Original Code
Meta
rustc --version --verbose
:Error output
Command:
rustc
Backtrace
Note
compiler/rustc_middle/src/ty/consts/int.rs Line-263
rust/compiler/rustc_middle/src/ty/consts/int.rs
Lines 261 to 265 in 7608018
expected int of size 8, but got size 1
#126359 has identical ICE location.nightly-2024-02-15
@rustbot label +F-adt_const_params
The text was updated successfully, but these errors were encountered: