1 error[E0277]: `<T as Trait>::AssocType` cannot be sent between threads safely
2 --> $DIR/typeck-default-trait-impl-assoc-type.rs:11:15
4 LL | is_send::<T::AssocType>();
5 | ^^^^^^^^^^^^ `<T as Trait>::AssocType` cannot be sent between threads safely
7 = help: the trait `Send` is not implemented for `<T as Trait>::AssocType`
8 note: required by a bound in `is_send`
9 --> $DIR/typeck-default-trait-impl-assoc-type.rs:14:14
11 LL | fn is_send<T:Send>() {
12 | ^^^^ required by this bound in `is_send`
13 help: consider further restricting the associated type
15 LL | fn bar<T:Trait+Send>() where <T as Trait>::AssocType: Send {
16 | +++++++++++++++++++++++++++++++++++
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.