]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-22370.stderr
New upstream version 1.37.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-22370.stderr
index f21551a55bc9a0732d6681fe28e141cfcf9d8f71..3ce164e9548b4e71370b1fccab866b0df7114f5d 100644 (file)
@@ -1,8 +1,8 @@
 error[E0393]: the type parameter `T` must be explicitly specified
-  --> $DIR/issue-22370.rs:3:10
+  --> $DIR/issue-22370.rs:3:14
    |
-LL | fn f(a: &A) {}
-   |          ^ missing reference to `T`
+LL | fn f(a: &dyn A) {}
+   |              ^ missing reference to `T`
    |
    = note: because of the default `Self` reference, type parameters must be specified on object types