]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-29147.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-29147.stderr
index 94aff5963544c59dd8d1cf566976ba31cebe8866..f00d5d32bbf28d6bc40fcfdb732e3cdebd512587 100644 (file)
@@ -1,13 +1,15 @@
 error[E0283]: type annotations needed
   --> $DIR/issue-29147.rs:21:13
    |
-LL | trait Foo { fn xxx(&self); }
-   |             -------------- required by `Foo::xxx`
-...
 LL |     let _ = <S5<_>>::xxx;
    |             ^^^^^^^^^^^^ cannot infer type for struct `S5<_>`
    |
    = note: cannot satisfy `S5<_>: Foo`
+note: required by `Foo::xxx`
+  --> $DIR/issue-29147.rs:10:13
+   |
+LL | trait Foo { fn xxx(&self); }
+   |             ^^^^^^^^^^^^^^
 
 error: aborting due to previous error