]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/issue-81712-cyclic-traits.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / issue-81712-cyclic-traits.stderr
CommitLineData
6a06907d 1error[E0107]: missing generics for associated type `C::DType`
17df50a5 2 --> $DIR/issue-81712-cyclic-traits.rs:17:19
6a06907d 3 |
17df50a5
XL
4LL | type CType: C<DType = Self>;
5 | ^^^^^ expected 1 generic argument
6a06907d 6 |
17df50a5 7note: associated type defined here, with 1 generic parameter: `T`
6a06907d
XL
8 --> $DIR/issue-81712-cyclic-traits.rs:14:10
9 |
10LL | type DType<T>: D<T, CType = Self>;
11 | ^^^^^ -
17df50a5 12help: add missing generic argument
6a06907d 13 |
17df50a5
XL
14LL | type CType: C<DType<T> = Self>;
15 | ^^^^^^^^
6a06907d
XL
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0107`.