summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/use-type-argument-instead-of-assoc-type.rs
blob: ed262fd39a5a98371629338f6e7b044c1de31aae (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 trait takes 2 generic arguments but 4 generic arguments were supplied
}


fn main() {}