about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-03-11 20:38:21 -0700
committerEsteban Küber <esteban@kuber.com.ar>2020-03-22 10:36:45 -0700
commit52fbd3e5690bfe008b343bdc35c78390239b64cc (patch)
tree78cd09ee3f9b39bddc4bcc2cb3ea00f3fbd7ff2b /src/test/ui/error-codes
parent5ae85f43f4eeaf177cd12f47958b7ff62786b612 (diff)
downloadrust-52fbd3e5690bfe008b343bdc35c78390239b64cc.tar.gz
rust-52fbd3e5690bfe008b343bdc35c78390239b64cc.zip
Increase verbosity when suggesting subtle code changes
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0615.stderr7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0615.stderr b/src/test/ui/error-codes/E0615.stderr
index 772058719ae..039d736673c 100644
--- a/src/test/ui/error-codes/E0615.stderr
+++ b/src/test/ui/error-codes/E0615.stderr
@@ -2,7 +2,12 @@ error[E0615]: attempted to take value of method `method` on type `Foo`
   --> $DIR/E0615.rs:11:7
    |
 LL |     f.method;
-   |       ^^^^^^ help: use parentheses to call the method: `method()`
+   |       ^^^^^^
+   |
+help: use parentheses to call the method
+   |
+LL |     f.method();
+   |             ^^
 
 error: aborting due to previous error