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