pub trait T { type A; type B; type C; } pub struct Foo { i: Box>, //~^ ERROR must be specified //~| ERROR trait takes 2 generic arguments but 4 generic arguments were supplied } fn main() {}