about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2017-06-11 23:49:28 -0700
committerEsteban Küber <esteban@kuber.com.ar>2017-06-12 07:51:55 -0700
commit5fcfa08e9899044e5cad2ac238206d83568a863f (patch)
treecc0a61e9879edb6fe11f3242d36926df2100ba2b /src/libsyntax/parse
parent3a7dbf48feb325bbe8517bc0fd7546e80931c8ed (diff)
downloadrust-5fcfa08e9899044e5cad2ac238206d83568a863f.tar.gz
rust-5fcfa08e9899044e5cad2ac238206d83568a863f.zip
Fix affected tests
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 76b14071ec3..ee74d9ec2e6 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2851,7 +2851,8 @@ impl<'a> Parser<'a> {
                                     _ => "a type".to_string(),
                                 };
                                 err.span_suggestion(suggestion_span,
-                                                    "if you want to compare the casted value then write",
+                                                    "if you want to compare the casted value \
+                                                     then write:",
                                                     suggestion);
                                 err.level = Level::Warning;
                                 err.set_message(&format!("`<` is interpreted as a start of generic \