about summary refs log tree commit diff
path: root/src/test/parse-fail/tuple-float-index.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/tuple-float-index.rs')
-rw-r--r--src/test/parse-fail/tuple-float-index.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/parse-fail/tuple-float-index.rs b/src/test/parse-fail/tuple-float-index.rs
index f3f5e356346..57ad89ad374 100644
--- a/src/test/parse-fail/tuple-float-index.rs
+++ b/src/test/parse-fail/tuple-float-index.rs
@@ -12,5 +12,6 @@
 
 fn main () {
     (1, (2, 3)).1.1; //~ ERROR unexpected token
-                     //~^ HELP try parenthesizing the first index; e.g., `(foo.1).1`
+                     //~^ HELP try parenthesizing the first index
+                     //~| SUGGESTION ((1, (2, 3)).1).1
 }