class Other trait Trait trait WithBounds class Test1 where class object T: WithBounds<Other>