Function works but non-capturing closure with identical signature fails with strange error #81326
Labels
A-async-await
Area: Async & Await
A-closures
Area: Closures (`|…| { … }`)
A-lifetimes
Area: Lifetimes / regions
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-bug
Category: This is a bug.
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.
WG-async
Working group: Async & await
Playground
I'm trying to use the solution suggested for a separate problem here.
The solution works with a coerced function item, but not a closure that is virtually identical.
produces
The text was updated successfully, but these errors were encountered: