pub trait Callback { fn cb(); } pub trait Processing { type Call: Callback; } fn f() { P::Call::cb(); } fn main() { struct MyCall; f::>(); //~^ ERROR: the trait bound `MyCall: Callback` is not satisfied }