diff options
| author | Xiretza <xiretza@xiretza.xyz> | 2022-09-22 18:39:17 +0200 |
|---|---|---|
| committer | Xiretza <xiretza@xiretza.xyz> | 2022-09-27 20:29:19 +0200 |
| commit | d7c64574e03f1d44c0a9e200b7dbeba98c50d8b3 (patch) | |
| tree | 8919fb00645f33b14da43004f27e50a70b65de78 /compiler/rustc_error_messages | |
| parent | 37fdcb4b364aeb8164a21a39dac984eb1e772872 (diff) | |
| download | rust-d7c64574e03f1d44c0a9e200b7dbeba98c50d8b3.tar.gz rust-d7c64574e03f1d44c0a9e200b7dbeba98c50d8b3.zip | |
Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind)
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/parser.ftl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/parser.ftl b/compiler/rustc_error_messages/locales/en-US/parser.ftl index dea85d8e7f4..6d34cdce340 100644 --- a/compiler/rustc_error_messages/locales/en-US/parser.ftl +++ b/compiler/rustc_error_messages/locales/en-US/parser.ftl @@ -291,11 +291,11 @@ parser_inner_doc_comment_not_permitted = expected outer doc comment .label_does_not_annotate_this = the inner doc comment doesn't annotate this {$item} .sugg_change_inner_to_outer = to annotate the {$item}, change the doc comment from inner to outer style -parser_expected_identifier_found_reserved_identifier_str = expected identifier, found reserved identifier `{$token_str}` -parser_expected_identifier_found_keyword_str = expected identifier, found keyword `{$token_str}` -parser_expected_identifier_found_reserved_keyword_str = expected identifier, found reserved keyword `{$token_str}` -parser_expected_identifier_found_doc_comment_str = expected identifier, found doc comment `{$token_str}` -parser_expected_identifier_found_str = expected identifier, found `{$token_str}` +parser_expected_identifier_found_reserved_identifier_str = expected identifier, found reserved identifier `{$token}` +parser_expected_identifier_found_keyword_str = expected identifier, found keyword `{$token}` +parser_expected_identifier_found_reserved_keyword_str = expected identifier, found reserved keyword `{$token}` +parser_expected_identifier_found_doc_comment_str = expected identifier, found doc comment `{$token}` +parser_expected_identifier_found_str = expected identifier, found `{$token}` parser_expected_identifier_found_reserved_identifier = expected identifier, found reserved identifier parser_expected_identifier_found_keyword = expected identifier, found keyword @@ -307,11 +307,11 @@ parser_sugg_escape_to_use_as_identifier = escape `{$ident_name}` to use it as an parser_sugg_remove_comma = remove this comma -parser_expected_semi_found_reserved_identifier_str = expected `;`, found reserved identifier `{$token_str}` -parser_expected_semi_found_keyword_str = expected `;`, found keyword `{$token_str}` -parser_expected_semi_found_reserved_keyword_str = expected `;`, found reserved keyword `{$token_str}` -parser_expected_semi_found_doc_comment_str = expected `;`, found doc comment `{$token_str}` -parser_expected_semi_found_str = expected `;`, found `{$token_str}` +parser_expected_semi_found_reserved_identifier_str = expected `;`, found reserved identifier `{$token}` +parser_expected_semi_found_keyword_str = expected `;`, found keyword `{$token}` +parser_expected_semi_found_reserved_keyword_str = expected `;`, found reserved keyword `{$token}` +parser_expected_semi_found_doc_comment_str = expected `;`, found doc comment `{$token}` +parser_expected_semi_found_str = expected `;`, found `{$token}` parser_sugg_change_this_to_semi = change this to `;` parser_sugg_add_semi = add `;` here |
