]> git.lizzy.rs Git - rust.git/blobdiff - src/test/parse-fail/tuple-float-index.rs
use suggestions instead of helps with code in them
[rust.git] / src / test / parse-fail / tuple-float-index.rs
index f3f5e356346822a1fa87f673008aed49c3bb87d9..57ad89ad374045f1cd6a645139722f5e12a69fc7 100644 (file)
@@ -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
 }