2 // Test that we do not consider associated types to be sendable without
3 // some applicable trait bound (and we don't ICE).
10 fn bar<T:Trait+Send>() where <T as Trait>::AssocType: Send {
11 is_send::<T::AssocType>(); //~ ERROR E0277
14 fn is_send<T:Send>() {