blob: ae61b7b104e87352daec1b570ae5680d3ddbf98b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
error[E0107]: missing generics for associated type `SomeTrait::Wrapped`
--> $DIR/issue-79636-2.rs:11:18
|
LL | W: SomeTrait<Wrapped = W>,
| ^^^^^^^ expected 1 generic argument
|
note: associated type defined here, with 1 generic parameter: `A`
--> $DIR/issue-79636-2.rs:4:10
|
LL | type Wrapped<A>: SomeTrait;
| ^^^^^^^ -
help: add missing generic argument
|
LL | W: SomeTrait<Wrapped<A> = W>,
| ~~~~~~~~~~
error: aborting due to previous error
For more information about this error, try `rustc --explain E0107`.
|