1 error[E0277]: `<T as Trait>::AssocType` cannot be sent between threads safely
2 --> $DIR/typeck-default-trait-impl-assoc-type.rs:19:5
4 LL | is_send::<T::AssocType>(); //~ ERROR E0277
5 | ^^^^^^^^^^^^^^^^^^^^^^^ `<T as Trait>::AssocType` cannot be sent between threads safely
7 = help: the trait `std::marker::Send` is not implemented for `<T as Trait>::AssocType`
8 = help: consider adding a `where <T as Trait>::AssocType: std::marker::Send` bound
9 note: required by `is_send`
10 --> $DIR/typeck-default-trait-impl-assoc-type.rs:22:1
12 LL | fn is_send<T:Send>() {
13 | ^^^^^^^^^^^^^^^^^^^^
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.