]>
Commit | Line | Data |
---|---|---|
6a06907d | 1 | error[E0107]: missing generics for associated type `C::DType` |
17df50a5 | 2 | --> $DIR/issue-81712-cyclic-traits.rs:17:19 |
6a06907d | 3 | | |
17df50a5 XL |
4 | LL | type CType: C<DType = Self>; |
5 | | ^^^^^ expected 1 generic argument | |
6a06907d | 6 | | |
17df50a5 | 7 | note: associated type defined here, with 1 generic parameter: `T` |
6a06907d XL |
8 | --> $DIR/issue-81712-cyclic-traits.rs:14:10 |
9 | | | |
10 | LL | type DType<T>: D<T, CType = Self>; | |
11 | | ^^^^^ - | |
17df50a5 | 12 | help: add missing generic argument |
6a06907d | 13 | | |
17df50a5 XL |
14 | LL | type CType: C<DType<T> = Self>; |
15 | | ^^^^^^^^ | |
6a06907d XL |
16 | |
17 | error: aborting due to previous error | |
18 | ||
19 | For more information about this error, try `rustc --explain E0107`. |