about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-03-06 15:01:21 +0000
committerbors <bors@rust-lang.org>2018-03-06 15:01:21 +0000
commit2789b067da2ac921b86199bde21dd231ace1da39 (patch)
treed39a80c2778ced0f9437ade7f4e76ef51e364bfa /src/libsyntax/parse/parser.rs
parentb977e044a7485a95852bfce12f1054bcc673355d (diff)
parent8e3493d45924fdb869c37dcb992759f71defed7c (diff)
downloadrust-2789b067da2ac921b86199bde21dd231ace1da39.tar.gz
rust-2789b067da2ac921b86199bde21dd231ace1da39.zip
Auto merge of #48768 - kennytm:rollup, r=kennytm
Rollup of 14 pull requests

- Successful merges: #48403, #48432, #48546, #48573, #48590, #48657, #48727, #48732, #48753, #48754, #48761, #48474, #48507, #47463
- Failed merges:
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 92584f5b519..da2a22df997 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3114,7 +3114,7 @@ impl<'a> Parser<'a> {
                         let expr_str = self.sess.codemap().span_to_snippet(expr.span)
                                                 .unwrap_or(pprust::expr_to_string(&expr));
                         err.span_suggestion(expr.span,
-                                            &format!("try {} the casted value", op_verb),
+                                            &format!("try {} the cast value", op_verb),
                                             format!("({})", expr_str));
                         err.emit();