Closure needing type annotation in const scope causes ICE #52437
Labels
A-closures
Area: Closures (`|…| { … }`)
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Probably somewhat related to #52432
This ICE's on stable, beta and nightly:
Playground: https://play.rust-lang.org/?gist=e1a6d6ef161b5cacb9ef406251807c3c&version=nightly&mode=debug&edition=2015
Backtrace:
The text was updated successfully, but these errors were encountered: