ICE in CFG builder with unused closure and upvars. #16256
Labels
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) ❄️
Trying to compile this results in an ICE:
Using the closure by either assigning it to a variable or just calling it makes the ICE go away. It also only seems to happen when you capture something.
cc: @pnkfelix
The text was updated successfully, but these errors were encountered: