]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/issue-44153.stderr
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / issue-44153.stderr
index b62a866a20be32c40e1f7fd2b3f1dc1ccbe0fa64..8ef71087958ca5b2988b61456354d654d0fd82b2 100644 (file)
@@ -5,10 +5,8 @@ LL |     fn visit() {}
    |     ---------- required by `Visit::visit`
 ...
 LL |     <() as Visit>::visit();
-   |     ^^^^^^^^^^^^^^^^^^^^ expected (), found &()
+   |     ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&()`
    |
-   = note: expected type `()`
-              found type `&()`
    = note: required because of the requirements on the impl of `Visit` for `()`
 
 error: aborting due to previous error