about summary refs log tree commit diff
path: root/tests/ui/methods/method-ambig-two-traits-from-impls2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/methods/method-ambig-two-traits-from-impls2.stderr')
-rw-r--r--tests/ui/methods/method-ambig-two-traits-from-impls2.stderr10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/ui/methods/method-ambig-two-traits-from-impls2.stderr b/tests/ui/methods/method-ambig-two-traits-from-impls2.stderr
index 333520847f8..788f1a4c4b3 100644
--- a/tests/ui/methods/method-ambig-two-traits-from-impls2.stderr
+++ b/tests/ui/methods/method-ambig-two-traits-from-impls2.stderr
@@ -16,10 +16,12 @@ LL |     fn foo() {}
    |     ^^^^^^^^
 help: use fully-qualified syntax to disambiguate
    |
-LL |     <AB as A>::foo();
-   |     ~~~~~~~~~~~
-LL |     <AB as B>::foo();
-   |     ~~~~~~~~~~~
+LL -     AB::foo();
+LL +     <AB as A>::foo();
+   |
+LL -     AB::foo();
+LL +     <AB as B>::foo();
+   |
 
 error: aborting due to 1 previous error