]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-assoc-eq-missing-term.stderr
Merge commit '48d60ab7c505c6c1ebb042eacaafd8dc9f7a9267' into libgccjit-codegen
[rust.git] / src / test / ui / parser / recover-assoc-eq-missing-term.stderr
1 error: missing type to the right of `=`
2   --> $DIR/recover-assoc-eq-missing-term.rs:3:17
3    |
4 LL |     bar::<Item =   >();
5    |                 ^^^
6    |
7 help: to constrain the associated type, add a type after `=`
8    |
9 LL |     bar::<Item = TheType>();
10    |                  ^^^^^^^
11 help: remove the `=` if `Item` is a type
12    |
13 LL |     bar::<Item >();
14    |               --
15
16 error: aborting due to previous error
17