]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/issue-44153.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / associated-types / issue-44153.stderr
index b62a866a20be32c40e1f7fd2b3f1dc1ccbe0fa64..f9b1373820f3a1e8a58808abf8e4d52471134621 100644 (file)
@@ -7,8 +7,6 @@ LL |     fn visit() {}
 LL |     <() as Visit>::visit();
    |     ^^^^^^^^^^^^^^^^^^^^ 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