]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/issue-65284-suggest-generic-trait-bound.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / traits / issue-65284-suggest-generic-trait-bound.stderr
index 35d41c6266761680735097ff32e80c8418f3ad32..ae33e61d83b7a1a889af4d31f94afc15415cd758 100644 (file)
@@ -1,6 +1,8 @@
 error[E0599]: no method named `foo` found for type parameter `T` in the current scope
   --> $DIR/issue-65284-suggest-generic-trait-bound.rs:8:7
    |
+LL | fn do_stuff<T : Bar>(t : T) {
+   |             - method `foo` not found for this type parameter
 LL |     t.foo()
    |       ^^^ method not found in `T`
    |