ICE: index out of bounds in rustc_middle/src/ty/generics.rs
#141775
Labels
C-bug
Category: This is a bug.
F-min_generic_const_args
`#![feature(min_generic_const_args)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
A mutant of
tests/ui/consts/const-expr-in-vec-repeat.rs
Meta
rustc --version --verbose
:Error output
command:
rustc
Backtrace
Bisects to
searched nightlies: from nightly-2025-01-01 to nightly-2025-05-30
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_middle/src/ty/generics.rs Line-221
rust/compiler/rustc_middle/src/ty/generics.rs
Lines 218 to 226 in 1bbd62e
delayed bug location:
compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs Line-831
rust/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs
Lines 826 to 835 in 1bbd62e
Closed issue 137865 has the same ICE location
@rustbot label +F-min_generic_const_args
The text was updated successfully, but these errors were encountered: