struct S(T::Assoc); trait Tr { type Assoc; } struct Hoge { s: S, //~ ERROR the trait bound `K: Tr` is not satisfied a: u32, } fn main() {}