Remove unused fluent messages
This commit is contained in:
parent
77be7a3e0d
commit
2064c19886
4 changed files with 0 additions and 33 deletions
|
@ -221,12 +221,6 @@ builtin_macros_requires_cfg_pattern =
|
||||||
macro requires a cfg-pattern as an argument
|
macro requires a cfg-pattern as an argument
|
||||||
.label = cfg-pattern required
|
.label = cfg-pattern required
|
||||||
|
|
||||||
builtin_macros_should_panic = functions using `#[should_panic]` must return `()`
|
|
||||||
|
|
||||||
builtin_macros_test_arg_non_lifetime = functions used as tests can not have any non-lifetime generic parameters
|
|
||||||
|
|
||||||
builtin_macros_test_args = functions used as tests can not have any arguments
|
|
||||||
|
|
||||||
builtin_macros_test_bad_fn = {$kind} functions cannot be used for tests
|
builtin_macros_test_bad_fn = {$kind} functions cannot be used for tests
|
||||||
.label = `{$kind}` because of this
|
.label = `{$kind}` because of this
|
||||||
|
|
||||||
|
|
|
@ -239,8 +239,6 @@ hir_analysis_missing_one_of_trait_item = not all trait items implemented, missin
|
||||||
.label = missing one of `{$missing_items_msg}` in implementation
|
.label = missing one of `{$missing_items_msg}` in implementation
|
||||||
.note = required because of this annotation
|
.note = required because of this annotation
|
||||||
|
|
||||||
hir_analysis_missing_tilde_const = missing `~const` qualifier for specialization
|
|
||||||
|
|
||||||
hir_analysis_missing_trait_item = not all trait items implemented, missing: `{$missing_items_msg}`
|
hir_analysis_missing_trait_item = not all trait items implemented, missing: `{$missing_items_msg}`
|
||||||
.label = missing `{$missing_items_msg}` in implementation
|
.label = missing `{$missing_items_msg}` in implementation
|
||||||
|
|
||||||
|
|
|
@ -284,9 +284,6 @@ parse_found_expr_would_be_stmt = expected expression, found `{$token}`
|
||||||
parse_function_body_equals_expr = function body cannot be `= expression;`
|
parse_function_body_equals_expr = function body cannot be `= expression;`
|
||||||
.suggestion = surround the expression with `{"{"}` and `{"}"}` instead of `=` and `;`
|
.suggestion = surround the expression with `{"{"}` and `{"}"}` instead of `=` and `;`
|
||||||
|
|
||||||
parse_gen_fn = `gen` functions are not yet implemented
|
|
||||||
.help = for now you can use `gen {"{}"}` blocks and return `impl Iterator` instead
|
|
||||||
|
|
||||||
parse_generic_args_in_pat_require_turbofish_syntax = generic args in patterns require the turbofish syntax
|
parse_generic_args_in_pat_require_turbofish_syntax = generic args in patterns require the turbofish syntax
|
||||||
|
|
||||||
parse_generic_parameters_without_angle_brackets = generic parameters without surrounding angle brackets
|
parse_generic_parameters_without_angle_brackets = generic parameters without surrounding angle brackets
|
||||||
|
|
|
@ -8,10 +8,6 @@ resolve_add_as_non_derive =
|
||||||
resolve_added_macro_use =
|
resolve_added_macro_use =
|
||||||
have you added the `#[macro_use]` on the module/import?
|
have you added the `#[macro_use]` on the module/import?
|
||||||
|
|
||||||
resolve_ampersand_used_without_explicit_lifetime_name =
|
|
||||||
`&` without an explicit lifetime name cannot be used here
|
|
||||||
.note = explicit lifetime name needed here
|
|
||||||
|
|
||||||
resolve_ancestor_only =
|
resolve_ancestor_only =
|
||||||
visibilities can only be restricted to ancestor modules
|
visibilities can only be restricted to ancestor modules
|
||||||
|
|
||||||
|
@ -100,12 +96,6 @@ resolve_const_param_in_non_trivial_anon_const =
|
||||||
resolve_const_param_in_ty_of_const_param =
|
resolve_const_param_in_ty_of_const_param =
|
||||||
const parameters may not be used in the type of const parameters
|
const parameters may not be used in the type of const parameters
|
||||||
|
|
||||||
resolve_crate_may_not_be_imported =
|
|
||||||
`$crate` may not be imported
|
|
||||||
|
|
||||||
resolve_crate_root_imports_must_be_named_explicitly =
|
|
||||||
crate root imports need to be explicitly named: `use crate as name;`
|
|
||||||
|
|
||||||
resolve_expected_found =
|
resolve_expected_found =
|
||||||
expected module, found {$res} `{$path_str}`
|
expected module, found {$res} `{$path_str}`
|
||||||
.label = not a module
|
.label = not a module
|
||||||
|
@ -220,9 +210,6 @@ resolve_param_in_ty_of_const_param =
|
||||||
the type of const parameters must not depend on other generic parameters
|
the type of const parameters must not depend on other generic parameters
|
||||||
.label = the type must not depend on the parameter `{$name}`
|
.label = the type must not depend on the parameter `{$name}`
|
||||||
|
|
||||||
resolve_parent_module_reset_for_binding =
|
|
||||||
parent module is reset for binding
|
|
||||||
|
|
||||||
resolve_proc_macro_same_crate = can't use a procedural macro from the same crate that defines it
|
resolve_proc_macro_same_crate = can't use a procedural macro from the same crate that defines it
|
||||||
.help = you can define integration tests in a directory named `tests`
|
.help = you can define integration tests in a directory named `tests`
|
||||||
|
|
||||||
|
@ -270,11 +257,6 @@ resolve_trait_impl_duplicate =
|
||||||
.old_span_label = previous definition here
|
.old_span_label = previous definition here
|
||||||
.trait_item_span = item in trait
|
.trait_item_span = item in trait
|
||||||
|
|
||||||
resolve_trait_impl_mismatch =
|
|
||||||
item `{$name}` is an associated {$kind}, which doesn't match its trait `{$trait_path}`
|
|
||||||
.label = does not match trait
|
|
||||||
.label_trait_item = item in trait
|
|
||||||
|
|
||||||
resolve_try_using_similarly_named_label =
|
resolve_try_using_similarly_named_label =
|
||||||
try using similarly named label
|
try using similarly named label
|
||||||
|
|
||||||
|
@ -295,10 +277,6 @@ resolve_undeclared_label =
|
||||||
use of undeclared label `{$name}`
|
use of undeclared label `{$name}`
|
||||||
.label = undeclared label `{$name}`
|
.label = undeclared label `{$name}`
|
||||||
|
|
||||||
resolve_underscore_lifetime_name_cannot_be_used_here =
|
|
||||||
`'_` cannot be used here
|
|
||||||
.note = `'_` is a reserved lifetime name
|
|
||||||
|
|
||||||
resolve_unexpected_res_change_ty_to_const_param_sugg =
|
resolve_unexpected_res_change_ty_to_const_param_sugg =
|
||||||
you might have meant to write a const parameter here
|
you might have meant to write a const parameter here
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue