ICE: expected type for ... but found ... when instantiating
#141776
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.
Uh oh!
There was an error while loading. Please reload this page.
Code
A mutant from
tests/ui/const-generics/bad-subst-const-kind.rs
Meta
rustc --version --verbose
:Error output
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
compiler/rustc_type_ir/src/binder.rs Line-740
rust/compiler/rustc_type_ir/src/binder.rs
Lines 739 to 748 in 1bbd62e
@rustbot label +F-min_generic_const_args
The text was updated successfully, but these errors were encountered: