mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
18 lines
428 B
Text
18 lines
428 B
Text
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 previous error
|
|
|