rust/tests/ui/parser/recover-assoc-eq-missing-term.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
428 B
Plaintext
Raw Normal View History

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-27 01:39:10 -05:00
LL | bar::<Item = >();
| ^^^
|
help: to constrain the associated type, add a type after `=`
|
2020-03-27 01:39:10 -05:00
LL | bar::<Item = TheType>();
| +++++++
help: remove the `=` if `Item` is a type
|
LL - bar::<Item = >();
LL + bar::<Item >();
2022-06-08 12:34:57 -05:00
|
error: aborting due to previous error