Rollup merge of #64202 - alexreg:rush-pr-1, r=Centril

Fixed grammar/style in some error messages

Factored out from hacking on rustc for work on the REPL.

r? @Centril
This commit is contained in:
Mazdak Farrokhzad 2019-09-06 19:00:49 +02:00 committed by GitHub
commit afb6a7002d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
125 changed files with 381 additions and 380 deletions

View file

@ -982,7 +982,7 @@ impl<'a> Parser<'a> {
}
if self.is_do_catch_block() {
let mut db = self.fatal("found removed `do catch` syntax");
db.help("Following RFC #2388, the new non-placeholder syntax is `try`");
db.help("following RFC #2388, the new non-placeholder syntax is `try`");
return Err(db);
}
if self.is_try_block() {