You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto traits currently leak through impl Trait. It might be nice to provide a way to explicitly state that an impl Trait does not promise Send or Sync in order to prevent users from relying on the Send or Sync ability of the leaked type.
Note: this could be achieved by a wrapper type that is !Send or !Sync, but that is inconvenient to say the least.
The text was updated successfully, but these errors were encountered:
Auto traits currently leak through
impl Trait
. It might be nice to provide a way to explicitly state that animpl Trait
does not promiseSend
orSync
in order to prevent users from relying on theSend
orSync
ability of the leaked type.Note: this could be achieved by a wrapper type that is
!Send
or!Sync
, but that is inconvenient to say the least.The text was updated successfully, but these errors were encountered: