]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/recover-assoc-eq-missing-term.stderr
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / 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 LL +     bar::<Item >();
15    |
16
17 error: aborting due to previous error
18