ICE from trying to use an AsyncFnOnce<()>
#137456
Labels
C-bug
Category: This is a bug.
F-async_closure
`#![feature(async_closure)]`
F-unboxed_closures
`#![feature(unboxed_closures)]`
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.
Code
Discovered by storycraft on the rust community discord.
Meta
Reproducible on the playground with stable rust 1.85.0, and nightly rust
1.87.0-nightly (2025-02-22 46420c96070b4c4bd824)
Error output
@rustbot labels +F-async_closure +F-unboxed_closures
The text was updated successfully, but these errors were encountered: