about summary refs log tree commit diff
path: root/tests/ui/ufcs/ufcs-explicit-self-bad.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/ufcs/ufcs-explicit-self-bad.stderr')
-rw-r--r--tests/ui/ufcs/ufcs-explicit-self-bad.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/ufcs/ufcs-explicit-self-bad.stderr b/tests/ui/ufcs/ufcs-explicit-self-bad.stderr
index 2a8c4edbdb5..7b5f7cd9f70 100644
--- a/tests/ui/ufcs/ufcs-explicit-self-bad.stderr
+++ b/tests/ui/ufcs/ufcs-explicit-self-bad.stderr
@@ -13,8 +13,9 @@ LL |     fn dummy2(&self);
               found signature `fn(&Bar<_>)`
 help: change the self-receiver type to match the trait
    |
-LL |     fn dummy2(&self) {}
-   |               ~~~~~
+LL -     fn dummy2(self: &Bar<T>) {}
+LL +     fn dummy2(&self) {}
+   |
 
 error[E0307]: invalid `self` parameter type: `isize`
   --> $DIR/ufcs-explicit-self-bad.rs:8:18