about summary refs log tree commit diff
path: root/src/test/ui/implicit-method-bind.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/implicit-method-bind.stderr
parent52fbd3e5690bfe008b343bdc35c78390239b64cc (diff)
downloadrust-94bbd46682fdf37aae7fe661e9f925649d439c36.tar.gz
rust-94bbd46682fdf37aae7fe661e9f925649d439c36.zip
Add span label to primary error span
Diffstat (limited to 'src/test/ui/implicit-method-bind.stderr')
-rw-r--r--src/test/ui/implicit-method-bind.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/implicit-method-bind.stderr b/src/test/ui/implicit-method-bind.stderr
index e9616f8317f..c6af47805ea 100644
--- a/src/test/ui/implicit-method-bind.stderr
+++ b/src/test/ui/implicit-method-bind.stderr
@@ -2,7 +2,7 @@ error[E0615]: attempted to take value of method `abs` on type `i32`
   --> $DIR/implicit-method-bind.rs:2:20
    |
 LL |     let _f = 10i32.abs;
-   |                    ^^^
+   |                    ^^^ method, not a field
    |
 help: use parentheses to call the method
    |