Open sgued opened 1 month ago
Thanks for raising this! Yeah having a minimal reproducer for this would be helpful. I'm also a little short on time so diving into this is a little tricky right now for me too.
Minimizing this test case would actually be a really good contribution if someone wants to make one!
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.