]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/traits/trait-alias-ambiguous.stderr
Rename AssocKind::Method to AssocKind::Fn
[rust.git] / src / test / ui / traits / trait-alias-ambiguous.stderr
index 48a029104aeca8842485eef2035c67c3a644ac86..7c00bb5207bdfdff9a53a7a442d12c193175638f 100644 (file)
@@ -14,11 +14,11 @@ note: candidate #2 is defined in an impl of the trait `inner::B` for the type `u
    |
 LL |         fn foo(&self) {}
    |         ^^^^^^^^^^^^^
-help: disambiguate the method call for candidate #1
+help: disambiguate the associated function for candidate #1
    |
 LL |     inner::A::foo(&t);
    |     ^^^^^^^^^^^^^^^^^
-help: disambiguate the method call for candidate #2
+help: disambiguate the associated function for candidate #2
    |
 LL |     inner::B::foo(&t);
    |     ^^^^^^^^^^^^^^^^^