]>
Commit | Line | Data |
---|---|---|
a1dfa0c6 XL |
1 | error[E0107]: wrong number of type arguments: expected 2, found 4 |
2 | --> $DIR/use-type-argument-instead-of-assoc-type.rs:7:28 | |
3 | | | |
4 | LL | i: Box<T<usize, usize, usize, usize, B=usize>>, | |
5 | | ^^^^^ ^^^^^ unexpected type argument | |
6 | | | | |
7 | | unexpected type argument | |
8 | ||
9 | error[E0191]: the value of the associated types `A` (from the trait `T`), `C` (from the trait `T`) must be specified | |
10 | --> $DIR/use-type-argument-instead-of-assoc-type.rs:7:12 | |
11 | | | |
12 | LL | type A; | |
13 | | ------- `A` defined here | |
14 | LL | type B; | |
15 | LL | type C; | |
16 | | ------- `C` defined here | |
17 | ... | |
18 | LL | i: Box<T<usize, usize, usize, usize, B=usize>>, | |
19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
20 | | | | |
21 | | associated type `A` must be specified | |
22 | | associated type `C` must be specified | |
23 | help: if you meant to specify the associated types, write | |
24 | | | |
25 | LL | i: Box<T<usize, usize, A = usize, C = usize, B=usize>>, | |
26 | | ^^^^^^^^^ ^^^^^^^^^ | |
27 | ||
28 | error: aborting due to 2 previous errors | |
29 | ||
30 | Some errors occurred: E0107, E0191. | |
31 | For more information about an error, try `rustc --explain E0107`. |