]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/missing-block-hint.rs
use suggestions instead of helps with code in them
[rust.git] / src / test / compile-fail / missing-block-hint.rs
index 1f29ff4e05c09811ed29ff33b914baee6b070f8f..6a140e6f21c1948220cd005b7a66f7b6198f65d1 100644 (file)
@@ -15,6 +15,7 @@ fn main() {
     {
         if (foo)
             bar; //~ ERROR expected `{`, found `bar`
-                 //^ HELP try placing this code inside a block
+                 //~^ HELP try placing this code inside a block
+                 //~| SUGGESTION { bar; }
     }
 }