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