You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_parse/messages.ftl
+9
Original file line number
Diff line number
Diff line change
@@ -420,6 +420,15 @@ parse_maybe_fn_typo_with_impl = you might have meant to write `impl` instead of
420
420
parse_expected_fn_path_found_fn_keyword = expected identifier, found keyword `fn`
421
421
.suggestion = use `Fn` to refer to the trait
422
422
423
+
parse_path_single_colon = path separator must be a double colon
424
+
.suggestion = use a double colon instead
425
+
426
+
parse_colon_as_semi = statements are terminated with a semicolon
427
+
.suggestion = use a semicolon instead
428
+
429
+
parse_type_ascription_removed =
430
+
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>
431
+
423
432
parse_where_clause_before_tuple_struct_body = where clauses are not allowed before tuple struct bodies
0 commit comments