blob: cf50c026665b57c653dc1dcb51d11157f9dadacc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
error: missing type to the right of `=`
--> $DIR/recover-assoc-eq-missing-term.rs:3:17
|
LL | bar::<Item = >();
| ^^^
|
help: to constrain the associated type, add a type after `=`
|
LL | bar::<Item = TheType>();
| +++++++
help: remove the `=` if `Item` is a type
|
LL - bar::<Item = >();
LL + bar::<Item >();
|
error: aborting due to 1 previous error
|