diff options
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 3 |
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 \ |
