[async closure] implementation of Send
is not general enough using tokio channel
#139475
Labels
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
I tried this code:
I expected to see this happen: no error as this is a very normal use case of async closure.
Instead, this happened: compiler complaining about the lifetime of the tokio
mpsc::Sender
.Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: