soften the wording for removing type ascription
This commit is contained in:
parent
0fe1ff2137
commit
5d1796a608
14 changed files with 16 additions and 23 deletions
|
@ -426,7 +426,8 @@ parse_path_single_colon = path separator must be a double colon
|
|||
parse_colon_as_semi = statements are terminated with a semicolon
|
||||
.suggestion = use a semicolon instead
|
||||
|
||||
parse_type_ascription_removed = type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>
|
||||
parse_type_ascription_removed =
|
||||
if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>
|
||||
|
||||
parse_where_clause_before_tuple_struct_body = where clauses are not allowed before tuple struct bodies
|
||||
.label = unexpected where clause
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue