summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/recover-assoc-eq-missing-term.stderr
blob: 152f7f2fb0626b792df954196fa9ce5530c18570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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