]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/issue-44153.stderr
feat(rustdoc): open sidebar menu when links inside it are focused
[rust.git] / src / test / ui / associated-types / issue-44153.stderr
index cafc8ec52ca7601414cc26c7db6346e7c70f1539..b7db5d385829cd2d1f7b5c334919da4f0f56128a 100644 (file)
@@ -7,7 +7,11 @@ LL |     fn visit() {}
 LL |     <() as Visit>::visit();
    |     ^^^^^^^^^^^^^^^^^^^^ expected `&()`, found `()`
    |
-   = note: required because of the requirements on the impl of `Visit` for `()`
+note: required because of the requirements on the impl of `Visit` for `()`
+  --> $DIR/issue-44153.rs:13:10
+   |
+LL | impl<'a> Visit for () where
+   |          ^^^^^     ^^
 
 error: aborting due to previous error