mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
18 lines
413 B
Plaintext
18 lines
413 B
Plaintext
|
error: missing type to the right of `=`
|
||
|
--> $DIR/recover-assoc-eq-missing-term.rs:3:11
|
||
|
|
|
||
|
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 >();
|
||
|
| --
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|