"Implementation not general enough" with async and projection, fixed by wrapping with async move
#110339
Labels
A-async-await
Area: Async & Await
A-coroutines
Area: Coroutines
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
Another instance of #110338 (pretty similar to #71723 I guess). Code sample:
playground
What's interesting about this one to me is that uncommenting the commented lines (wrapping in an
async move
) removes the error.The projection type being in
MaybeDone
is load-bearing, so I suspect something like #92449 would have fixed this.The text was updated successfully, but these errors were encountered: