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
test.rs:11:5: 11:6 error: the trait `Foo` is not implemented for the type `Box<Foo+Send+Sync>`
test.rs:11 f(foo)
^
test.rs:11:5: 11:6 note: the trait `Foo` must be implemented because it is required by `f`
test.rs:11 f(foo)
^
error: aborting due to previous error
I would expect that Box<Foo> would be the same type as Box<Foo+Send+Sync> because Foo requires Send+Sync.