1
Fork 0

Review comment

This commit is contained in:
Esteban Küber 2019-03-19 18:16:55 -07:00
parent 81b876b6a3
commit 44a086ef39
10 changed files with 12 additions and 12 deletions

View file

@ -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...",