blob: 16287323995de2a6bdcf8ff7368dbc7d14482239 (
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:9: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:2: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`.
|