]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-81712-cyclic-traits.stderr
Auto merge of #82576 - gilescope:to_string, r=Amanieu
[rust.git] / src / test / ui / generic-associated-types / issue-81712-cyclic-traits.stderr
1 error[E0107]: missing generics for associated type `C::DType`
2   --> $DIR/issue-81712-cyclic-traits.rs:14:10
3    |
4 LL |     type DType<T>: D<T, CType = Self>;
5    |          ^^^^^ expected 1 type argument
6    |
7 note: associated type defined here, with 1 type parameter: `T`
8   --> $DIR/issue-81712-cyclic-traits.rs:14:10
9    |
10 LL |     type DType<T>: D<T, CType = Self>;
11    |          ^^^^^ -
12 help: use angle brackets to add missing type argument
13    |
14 LL |     type DType<T><T>: D<T, CType = Self>;
15    |               ^^^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0107`.