]> git.lizzy.rs Git - rust.git/commitdiff
Update suggestion from parenthesized-box-expr-message to reflect new output spacing.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 23 Jul 2015 14:00:58 +0000 (16:00 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 23 Jul 2015 14:02:27 +0000 (16:02 +0200)
src/test/parse-fail/parenthesized-box-expr-message.rs

index 09d32a71dea48f6d5e0f660da9d1cd94633ad516..4c32d2f041e3c7fabc08c436e972686aab2e7cff 100644 (file)
@@ -12,7 +12,7 @@
 
 fn main() {
     box (1 + 1)
-    //~^ HELP try using `box()` instead:
-    //~| SUGGESTION box() (1 + 1)
+    //~^ HELP try using `box ()` instead:
+    //~| SUGGESTION box () (1 + 1)
     ; //~ ERROR expected expression, found `;`
 }