recursive async function using Box::new
results in cycle error
#122332
Labels
A-async-await
Area: Async & Await
A-diagnostics
Area: Messages for errors, warnings, and lints
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
I-cycle
Issue: A query cycle occurred while none was expected
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-async
Working group: Async & await
this results in
We should instead mention that the async function does not implement
Unpin
, causingBox<opaque>
to not implementIntoFuture
.cc @oli-obk this error should get significantly improved by #122192
The text was updated successfully, but these errors were encountered: