]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/wf/wf-foreign-fn-decl-ret.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / wf / wf-foreign-fn-decl-ret.stderr
index 9081b7929d935676221fddc052407f4c487a4592..f6b48938f9b04437bf699c469ca51c284f135498 100644 (file)
@@ -1,8 +1,11 @@
 error[E0277]: the trait bound `(): Foo` is not satisfied
-  --> $DIR/wf-foreign-fn-decl-ret.rs:11:5
+  --> $DIR/wf-foreign-fn-decl-ret.rs:11:25
    |
+LL | pub trait Foo {
+   | ------------- required by this bound in `Foo`
+...
 LL |     pub fn lint_me() -> <() as Foo>::Assoc;
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `()`
+   |                         ^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `()`
 
 error[E0277]: the trait bound `u32: Unsatisfied` is not satisfied
   --> $DIR/wf-foreign-fn-decl-ret.rs:14:32