about summary refs log tree commit diff
path: root/src/test/ui/methods/method-missing-call.stderr
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-03-22 11:18:06 -0700
committerEsteban Küber <esteban@kuber.com.ar>2020-03-22 11:18:06 -0700
commit94bbd46682fdf37aae7fe661e9f925649d439c36 (patch)
tree978da85387d0c1e989fd3d4e607b7a8c122d5f04 /src/test/ui/methods/method-missing-call.stderr
parent52fbd3e5690bfe008b343bdc35c78390239b64cc (diff)
Add span label to primary error span
Diffstat (limited to 'src/test/ui/methods/method-missing-call.stderr')
-rw-r--r--src/test/ui/methods/method-missing-call.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/methods/method-missing-call.stderr b/src/test/ui/methods/method-missing-call.stderr
index 23f8970e9e7..bc8a1c85e56 100644
--- a/src/test/ui/methods/method-missing-call.stderr
+++ b/src/test/ui/methods/method-missing-call.stderr
@@ -2,7 +2,7 @@ error[E0615]: attempted to take value of method `get_x` on type `Point`
   --> $DIR/method-missing-call.rs:22:26
    |
 LL |                         .get_x;
-   |                          ^^^^^
+   |                          ^^^^^ method, not a field
    |
 help: use parentheses to call the method
    |
@@ -13,7 +13,7 @@ error[E0615]: attempted to take value of method `filter_map` on type `std::iter:
   --> $DIR/method-missing-call.rs:29:16
    |
 LL |               .filter_map;
-   |                ^^^^^^^^^^
+   |                ^^^^^^^^^^ method, not a field
    |
 help: use parentheses to call the method
    |