]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / did_you_mean / issue-21659-show-relevant-trait-impls-1.stderr
index 26764bc0ee5cca431355fc6856b5780d298de731..b69fcd5d32a60da122e535111cd6acc07404211b 100644 (file)
@@ -1,8 +1,10 @@
 error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
-  --> $DIR/issue-21659-show-relevant-trait-impls-1.rs:24:8
+  --> $DIR/issue-21659-show-relevant-trait-impls-1.rs:24:12
    |
 LL |     f1.foo(1usize);
-   |        ^^^ the trait `Foo<usize>` is not implemented for `Bar`
+   |        --- ^^^^^^ the trait `Foo<usize>` is not implemented for `Bar`
+   |        |
+   |        required by a bound introduced by this call
    |
    = help: the following other types implement trait `Foo<A>`:
              <Bar as Foo<i32>>