// check-pass #![feature(type_alias_impl_trait)] trait Duh {} impl Duh for i32 {} trait Trait { type Assoc: Duh; } impl Trait for F { type Assoc = F; } type Sendable = impl Send; type Traitable = impl Trait; fn foo() -> Traitable { 42 } fn main() { }