Unboxed closure: infer move
when passing an unboxed closure to Fn* + Send
#18799
Labels
A-closures
Area: Closures (`|…| { … }`)
It would be really amazing if in the following snippet, the "move" was inferred by the fact that the closure is passed as a Fn* + Send. Aka, that move was inferred by the Send trait.
The text was updated successfully, but these errors were encountered: