pub trait Foo { type Assoc; } pub trait Bar: Foo { fn new(&self, b: & dyn Bar //~ ERROR the trait `Bar` cannot be made into an object ); } fn main() {}