]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-18446.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-18446.stderr
index 3422add9dd96b701bbae7fee4052f38b96500f89..11c8cfdcf66a5ff2f4bb8bf58b3825d77d598d5f 100644 (file)
@@ -5,9 +5,9 @@ LL |     x.foo();
    |     --^^^--
    |     | |
    |     | multiple `foo` found
-   |     help: disambiguate the method call for candidate #2: `T::foo(&x)`
+   |     help: disambiguate the associated function for candidate #2: `T::foo(&x)`
    |
-note: candidate #1 is defined in an impl for the type `dyn T`
+note: candidate #1 is defined in an impl for the type `(dyn T + 'a)`
   --> $DIR/issue-18446.rs:9:5
    |
 LL |     fn foo(&self) {}