about summary refs log tree commit diff
path: root/tests/ui/tuple/tuple-index-not-tuple.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/tuple/tuple-index-not-tuple.stderr')
-rw-r--r--tests/ui/tuple/tuple-index-not-tuple.stderr7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ui/tuple/tuple-index-not-tuple.stderr b/tests/ui/tuple/tuple-index-not-tuple.stderr
index cc94a61ae7f..0f81f2a1bb8 100644
--- a/tests/ui/tuple/tuple-index-not-tuple.stderr
+++ b/tests/ui/tuple/tuple-index-not-tuple.stderr
@@ -2,7 +2,12 @@ error[E0609]: no field `0` on type `Point`
   --> $DIR/tuple-index-not-tuple.rs:6:12
    |
 LL |     origin.0;
-   |            ^ help: a field with a similar name exists: `x`
+   |            ^
+   |
+help: a field with a similar name exists
+   |
+LL |     origin.x;
+   |            ~
 
 error[E0609]: no field `0` on type `Empty`
   --> $DIR/tuple-index-not-tuple.rs:8:11