1 error[E0277]: `T` cannot be sent between threads safely
2 --> $DIR/builtin-superkinds-in-metadata.rs:13:23
4 LL | impl <T:Sync+'static> RequiresRequiresShareAndSend for X<T> { }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` cannot be sent between threads safely
7 note: required because it appears within the type `X<T>`
8 --> $DIR/builtin-superkinds-in-metadata.rs:9:8
12 note: required by a bound in `RequiresRequiresShareAndSend`
13 --> $DIR/auxiliary/trait_superkinds_in_metadata.rs:7:58
15 LL | pub trait RequiresRequiresShareAndSend : RequiresShare + Send { }
16 | ^^^^ required by this bound in `RequiresRequiresShareAndSend`
17 help: consider further restricting this bound
19 LL | impl <T:Sync+'static + std::marker::Send> RequiresRequiresShareAndSend for X<T> { }
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0277`.