about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
author1011X <1011XXXXX@gmail.com>2018-03-08 22:57:54 -0500
committer1011X <1011XXXXX@gmail.com>2018-03-08 22:57:54 -0500
commit39c3a370180063ea5fbce64b26e585f7e0228d53 (patch)
tree701137e842c86ceb523549232523ac5090e461b9 /src/libsyntax/parse/parser.rs
parent679e410b11848ef3d9544c08bdb942ae3bc15a46 (diff)
parenta0c626227eeb98f864f67c42845b76f126bc519a (diff)
downloadrust-39c3a370180063ea5fbce64b26e585f7e0228d53.tar.gz
rust-39c3a370180063ea5fbce64b26e585f7e0228d53.zip
Merge branch 'master' of github.com:1011X/rust
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();