]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/issue-21673.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / suggestions / issue-21673.stderr
index 0a4aaa61bc784cfc3b441d853e8b6c377831d8aa..523d7a7ccd29c7293578ecb32c3433f9c8492d94 100644 (file)
@@ -13,6 +13,8 @@ LL | fn call_method<T: std::fmt::Debug + Foo>(x: &T) {
 error[E0599]: no method named `method` found for type parameter `T` in the current scope
   --> $DIR/issue-21673.rs:10:7
    |
+LL | fn call_method_2<T>(x: T) {
+   |                  - method `method` not found for this type parameter
 LL |     x.method()
    |       ^^^^^^ method not found in `T`
    |