about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/stmt.rs
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/libsyntax/parse/parser/stmt.rs
parent618768492f0c731fcb770dc2d178abe840846419 (diff)
downloadrust-022d9c8eb56144c00980c88d4b68a5a1e487484a.tar.gz
rust-022d9c8eb56144c00980c88d4b68a5a1e487484a.zip
Fixed grammar/style in error messages and reblessed tests.
Diffstat (limited to 'src/libsyntax/parse/parser/stmt.rs')
-rw-r--r--src/libsyntax/parse/parser/stmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/stmt.rs b/src/libsyntax/parse/parser/stmt.rs
index 651ebf6342e..748c1a168b0 100644
--- a/src/libsyntax/parse/parser/stmt.rs
+++ b/src/libsyntax/parse/parser/stmt.rs
@@ -469,7 +469,7 @@ impl<'a> Parser<'a> {
         self.diagnostic().struct_span_warn(self.token.span, {
             &format!("expected `;`, found {}", self.this_token_descr())
         }).note({
-            "This was erroneously allowed and will become a hard error in a future release"
+            "this was erroneously allowed and will become a hard error in a future release"
         }).emit();
     }
 }