1 error[E0277]: `T` cannot be sent between threads safely
2 --> $DIR/builtin-superkinds-double-superkind.rs:6:24
4 LL | trait Foo : Send+Sync { }
5 | ---- required by this bound in `Foo`
7 LL | impl <T: Sync+'static> Foo for (T,) { }
8 | ^^^ `T` cannot be sent between threads safely
10 = note: required because it appears within the type `(T,)`
11 help: consider further restricting this bound
13 LL | impl <T: Sync+'static + Send> Foo for (T,) { }
16 error[E0277]: `T` cannot be shared between threads safely
17 --> $DIR/builtin-superkinds-double-superkind.rs:9:16
19 LL | trait Foo : Send+Sync { }
20 | ---- required by this bound in `Foo`
22 LL | impl <T: Send> Foo for (T,T) { }
23 | ^^^ `T` cannot be shared between threads safely
25 = note: required because it appears within the type `(T, T)`
26 help: consider further restricting this bound
28 LL | impl <T: Send + Sync> Foo for (T,T) { }
31 error: aborting due to 2 previous errors
33 For more information about this error, try `rustc --explain E0277`.