ConcurrentStream: issues with Send
and Sync
bounds
#195
Labels
help wanted
Extra attention is needed
Send
and Sync
bounds
#195
There appears to be some invariance introduced by the
IntoConcurrentStream
andMap
implementation that confuses the compiler for theSend
andSync
autotraitsThe following:
fails with the error:
I can't make a minimal reproducer, but I first encountered this error message, which I think it's the same issue. To me this suggests this might even be a bug in
rustc
. Even if it isn't a bug, the error message makes no sense and should be fixed.The text was updated successfully, but these errors were encountered: