about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-03-19 18:16:55 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-03-22 19:50:18 -0700
commit44a086ef39b2a6e6ed231869a5166bec7c4b7511 (patch)
treef07061e57d793a7c1d7bb373ee36b87a85fae6bf /src/libsyntax/parse/parser.rs
parent81b876b6a3e3e489fdad8514f69b67264ab1d338 (diff)
downloadrust-44a086ef39b2a6e6ed231869a5166bec7c4b7511.tar.gz
rust-44a086ef39b2a6e6ed231869a5166bec7c4b7511.zip
Review comment
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index d052abf96d7..d5b64eaaef5 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3704,8 +3704,8 @@ impl<'a> Parser<'a> {
                     Applicability::MaybeIncorrect,
                 );
             } else {
-                err.note("type ascription is a nightly only feature that lets \
-                            you annotate expressions with a type: `<expr>: <type>`");
+                err.note("type ascription is a nightly-only feature that lets \
+                          you annotate an expression with a type: `<expr>: <type>`");
                 err.span_note(
                     lhs_span,
                     "this expression is annotated with type ascription...",