ICE: type parameter
T/#1 (T/#1/1) out of range when instantiating, args=[?2t]
#141919
Labels
C-bug
Category: This is a bug.
F-associated_const_equality
`#![feature(associated_const_equality)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-bisection
Status: A bisection has been found for this issue
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
A mutant of
tests/ui/generic-const-items/assoc-const-AnonConst-ice-108220.rs
Meta
rustc --version --verbose
:Error output
command:
rustc
Backtrace
Bisects to
searched nightlies: from nightly-2025-01-01 to nightly-2025-06-01
regressed nightly: nightly-2025-05-24
searched commit range: 2eef478...3e674b0
regressed commit: 52bf0cf
bisected with cargo-bisect-rustc v0.6.9
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
Notes
ICE location:
compiler/rustc_type_ir/src/binder.rs Line-753
rust/compiler/rustc_type_ir/src/binder.rs
Lines 752 to 760 in 99e7c15
Other open ICE issues of "type parameter ... out of range when instantiating" requires different features
@rustbot label +F-associated_const_equality
The text was updated successfully, but these errors were encountered: