summaryrefslogtreecommitdiffstats
path: root/tests/ui/methods/method-ambig-two-traits-from-impls.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/methods/method-ambig-two-traits-from-impls.stderr')
-rw-r--r--tests/ui/methods/method-ambig-two-traits-from-impls.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/methods/method-ambig-two-traits-from-impls.stderr b/tests/ui/methods/method-ambig-two-traits-from-impls.stderr
index f69b56892..313591433 100644
--- a/tests/ui/methods/method-ambig-two-traits-from-impls.stderr
+++ b/tests/ui/methods/method-ambig-two-traits-from-impls.stderr
@@ -14,11 +14,11 @@ note: candidate #2 is defined in an impl of the trait `B` for the type `AB`
|
LL | fn foo(self) {}
| ^^^^^^^^^^^^
-help: disambiguate the associated function for candidate #1
+help: disambiguate the method for candidate #1
|
LL | A::foo(AB {});
| ~~~~~~~~~~~~~
-help: disambiguate the associated function for candidate #2
+help: disambiguate the method for candidate #2
|
LL | B::foo(AB {});
| ~~~~~~~~~~~~~