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