summaryrefslogtreecommitdiffstats
path: root/tests/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr b/tests/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
index 4e83e4b77..755179650 100644
--- a/tests/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
+++ b/tests/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
@@ -54,8 +54,8 @@ LL | let z = NuisanceFoo::foo(x);
| ~~~~~~~~~~~~~~~~~~~
help: disambiguate the method for candidate #3
|
-LL | let z = FinalFoo::foo(x);
- | ~~~~~~~~~~~~~~~~
+LL | let z = FinalFoo::foo(&x);
+ | ~~~~~~~~~~~~~~~~~
error[E0308]: mismatched types
--> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:139:24