generic_const_items: Generic function pointer leads to ICEs during codegen #136156
Labels
A-monomorphization
Area: Monomorphization
C-bug
Category: This is a bug.
F-generic_const_items
`#![feature(generic_const_items)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-incomplete-features
This issue requires the use of incomplete features.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Reproducer:
Start of compiler output (stopping before backtrace):
Rest of compiler output (includes backtrace)
Interestingly(?), this ICE doesn't occur if we don't coerce the closure to a function pointer:
The text was updated successfully, but these errors were encountered: