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