// Test for traits that inherit from multiple builtin kinds at once, // testing that all such kinds must be present on implementing types. trait Foo : Send+Sync { } impl Foo for (T,) { } //~^ ERROR `T` cannot be sent between threads safely [E0277] impl Foo for (T,T) { } //~^ ERROR `T` cannot be shared between threads safely [E0277] impl Foo for (T,T,T) { } // (ok) fn main() { }