2020-03-22 00:09:24 -05:00
|
|
|
error: missing type to the right of `=`
|
2020-03-27 01:39:10 -05:00
|
|
|
--> $DIR/recover-assoc-eq-missing-term.rs:3:17
|
2020-03-22 00:09:24 -05:00
|
|
|
|
|
2020-03-27 01:39:10 -05:00
|
|
|
LL | bar::<Item = >();
|
|
|
|
| ^^^
|
2020-03-22 00:09:24 -05:00
|
|
|
|
|
|
|
|
help: to constrain the associated type, add a type after `=`
|
|
|
|
|
|
2020-03-27 01:39:10 -05:00
|
|
|
LL | bar::<Item = TheType>();
|
2021-06-21 21:07:19 -05:00
|
|
|
| +++++++
|
2020-03-22 00:09:24 -05:00
|
|
|
help: remove the `=` if `Item` is a type
|
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - bar::<Item = >();
|
|
|
|
LL + bar::<Item >();
|
|
|
|
|
|
2020-03-22 00:09:24 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|