-Znext-solver
: ICE with closure capturing iterated variable in 2021 edition
#120328
Labels
A-closures
Area: Closures (`|…| { … }`)
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.
WG-trait-system-refactor
The Rustc Trait System Refactor Initiative (-Znext-solver)
Code
Using
rustc --edition=2021 -Znext-solver=globally foo.rs
.Manually minimized from original code in
objc2
, specifically here.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: