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
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Rollup merge of rust-lang#121860 - mu001999:master, r=Nilstrieb
Add a tidy check that checks whether the fluent slugs only appear once
As ``````@Nilstrieb`````` said in rust-lang#121828 (comment):
> Might make sense to have a tidy check that checks whether the fluent slugs only appear once in the source code and lint for that
there's a tidy check already for sorting
We can get the tidy check error:
```
tidy check
tidy error: /path/to/rust/compiler/rustc_const_eval/messages.ftl: message `const_eval_invalid_align` is not used
tidy error: /path/to/rust/compiler/rustc_lint/messages.ftl: message `lint_trivial_untranslatable_diag` is not used
tidy error: /path/to/rust/compiler/rustc_parse/messages.ftl: message `parse_invalid_literal_suffix` is not used
tidy error: /path/to/rust/compiler/rustc_infer/messages.ftl: message `infer_need_type_info_in_coroutine` is not used
tidy error: /path/to/rust/compiler/rustc_passes/messages.ftl: message `passes_expr_not_allowed_in_context` is not used
tidy error: /path/to/rust/compiler/rustc_passes/messages.ftl: message `passes_layout` is not used
tidy error: /path/to/rust/compiler/rustc_parse/messages.ftl: message `parse_not_supported` is not used
```
r? ``````@Nilstrieb``````
parse_invalid_literal_suffix = suffixes on {$kind} literals are invalid
396
-
.label = invalid suffix `{$suffix}`
397
-
398
395
parse_invalid_literal_suffix_on_tuple_index = suffixes on a tuple index are invalid
399
396
.label = invalid suffix `{$suffix}`
400
397
.tuple_exception_line_1 = `{$suffix}` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases
@@ -609,7 +606,6 @@ parse_nonterminal_expected_item_keyword = expected an item keyword
609
606
parse_nonterminal_expected_lifetime = expected a lifetime, found `{$token}`
610
607
611
608
parse_nonterminal_expected_statement = expected a statement
612
-
parse_not_supported = not supported
613
609
614
610
parse_note_edition_guide = for more on editions, read https://doc.rust-lang.org/edition-guide
0 commit comments