]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/associated-types/associated-types-projection-to-unrelated-trait-in-method-without-default.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / associated-types / associated-types-projection-to-unrelated-trait-in-method-without-default.stderr
index 4528f03c54a639b276004f2fc0eb1727ee0f770f..b6ee1ed733c3e99cc0f82f280bc964083bd170bc 100644 (file)
@@ -1,8 +1,11 @@
 error[E0277]: the trait bound `Self: Get` is not satisfied
-  --> $DIR/associated-types-projection-to-unrelated-trait-in-method-without-default.rs:10:5
+  --> $DIR/associated-types-projection-to-unrelated-trait-in-method-without-default.rs:10:40
    |
+LL | trait Get {
+   | --------- required by this bound in `Get`
+...
 LL |     fn okay<U:Get>(&self, foo: U, bar: <Self as Get>::Value);
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Get` is not implemented for `Self`
+   |                                        ^^^^^^^^^^^^^^^^^^^^ the trait `Get` is not implemented for `Self`
    |
 help: consider further restricting `Self`
    |