Review comment
This commit is contained in:
parent
81b876b6a3
commit
44a086ef39
10 changed files with 12 additions and 12 deletions
|
@ -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...",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue