]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-66353.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-66353.stderr
index 8fd50300ca63e7d1c7967fad26f02916c857eeec..59a521c7360faaefb8e8ab376e301e9b12c69756 100644 (file)
@@ -7,11 +7,14 @@ LL |     _Func::< <() as _A>::AssocT >::func(());
 error[E0277]: the trait bound `(): _Func<_>` is not satisfied
   --> $DIR/issue-66353.rs:12:41
    |
-LL |     fn func(_: Self);
-   |     ----------------- required by `_Func::func`
-...
 LL |     _Func::< <() as _A>::AssocT >::func(());
    |                                         ^^ the trait `_Func<_>` is not implemented for `()`
+   |
+note: required by `_Func::func`
+  --> $DIR/issue-66353.rs:4:5
+   |
+LL |     fn func(_: Self);
+   |     ^^^^^^^^^^^^^^^^^
 
 error: aborting due to 2 previous errors