blob: 8b6e8cfd720be6cf213eb762e3ed999f04202555 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
pub trait T<X, Y> {
type A;
type B;
type C;
}
pub struct Foo {
i: Box<dyn T<usize, usize, usize, usize, B=usize>>,
//~^ ERROR must be specified
//~| ERROR this trait takes 2 generic arguments but 4 generic arguments were supplied
}
fn main() {}
|