]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/use-type-argument-instead-of-assoc-type.rs
Rollup merge of #65261 - nnethercote:rm-Option-from-TokenStream, r=petrochenkov
[rust.git] / src / test / ui / suggestions / use-type-argument-instead-of-assoc-type.rs
1 pub trait T<X, Y> {
2     type A;
3     type B;
4     type C;
5 }
6 pub struct Foo {
7     i: Box<dyn T<usize, usize, usize, usize, B=usize>>,
8     //~^ ERROR must be specified
9     //~| ERROR wrong number of type arguments
10 }
11
12
13 fn main() {}