Self-referencing closure paniced the compiler #107301
Labels
C-bug
Category: This is a bug.
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.
Uh oh!
There was an error while loading. Please reload this page.
"When the compiler of the safest programming language panics, doom shall come upon us"
Jokes aside, this is the snippet (aka "the destroyer of worlds"):
the panic happens when calling "set_closure", even tho there's no body inside that function.
Cargo output:
The text was updated successfully, but these errors were encountered: