summary refs log tree commit diff
path: root/src/test/ui/parser
diff options
context:
space:
mode:
authorAlexander Regueiro <alexreg@me.com>2019-09-01 18:09:59 +0100
committerAlexander Regueiro <alexreg@me.com>2019-09-06 03:46:08 +0100
commit022d9c8eb56144c00980c88d4b68a5a1e487484a (patch)
tree738a2c5192caf1cdaf2de96213b14cd1996dfe9c /src/test/ui/parser
parent618768492f0c731fcb770dc2d178abe840846419 (diff)
downloadrust-022d9c8eb56144c00980c88d4b68a5a1e487484a.tar.gz
rust-022d9c8eb56144c00980c88d4b68a5a1e487484a.zip
Fixed grammar/style in error messages and reblessed tests.
Diffstat (limited to 'src/test/ui/parser')
-rw-r--r--src/test/ui/parser/do-catch-suggests-try.rs2
-rw-r--r--src/test/ui/parser/do-catch-suggests-try.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/parser/do-catch-suggests-try.rs b/src/test/ui/parser/do-catch-suggests-try.rs
index 61fae721ffb..d805ab75882 100644
--- a/src/test/ui/parser/do-catch-suggests-try.rs
+++ b/src/test/ui/parser/do-catch-suggests-try.rs
@@ -1,5 +1,5 @@
 fn main() {
     let _: Option<()> = do catch {};
     //~^ ERROR found removed `do catch` syntax
-    //~^^ HELP Following RFC #2388, the new non-placeholder syntax is `try`
+    //~^^ HELP following RFC #2388, the new non-placeholder syntax is `try`
 }
diff --git a/src/test/ui/parser/do-catch-suggests-try.stderr b/src/test/ui/parser/do-catch-suggests-try.stderr
index 6d13b0f1cc8..e151d4cf8a6 100644
--- a/src/test/ui/parser/do-catch-suggests-try.stderr
+++ b/src/test/ui/parser/do-catch-suggests-try.stderr
@@ -4,7 +4,7 @@ error: found removed `do catch` syntax
 LL |     let _: Option<()> = do catch {};
    |                         ^^
    |
-   = help: Following RFC #2388, the new non-placeholder syntax is `try`
+   = help: following RFC #2388, the new non-placeholder syntax is `try`
 
 error: aborting due to previous error