]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-79636-2.stderr
Rollup merge of #102954 - GuillaumeGomez:cfg-hide-attr-checks, r=Manishearth
[rust.git] / src / test / ui / generic-associated-types / issue-79636-2.stderr
1 error[E0107]: missing generics for associated type `SomeTrait::Wrapped`
2   --> $DIR/issue-79636-2.rs:9:18
3    |
4 LL |     W: SomeTrait<Wrapped = W>,
5    |                  ^^^^^^^ expected 1 generic argument
6    |
7 note: associated type defined here, with 1 generic parameter: `A`
8   --> $DIR/issue-79636-2.rs:2:10
9    |
10 LL |     type Wrapped<A>: SomeTrait;
11    |          ^^^^^^^ -
12 help: add missing generic argument
13    |
14 LL |     W: SomeTrait<Wrapped<A> = W>,
15    |                  ~~~~~~~~~~
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0107`.