]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/recover-assoc-eq-missing-term.stderr
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.git] / src / test / ui / parser / recover-assoc-eq-missing-term.stderr
index 6e41e139220aeb058a5150a1f3b77e417cb7e367..f3ed77cbde215d4fc27c1bddad9a96034601a791 100644 (file)
@@ -7,11 +7,12 @@ 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 =   >();
+LL +     bar::<Item >();
+   | 
 
 error: aborting due to previous error