fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
4.6 KiB142 linesraw
1expand_arg_not_attributes =
2    second argument must be `attributes`
3
4expand_attr_no_arguments =
5    attribute must have either one or two arguments
6
7expand_attribute_meta_item =
8    attribute must be a meta item, not a literal
9
10expand_attribute_single_word =
11    attribute must only be a single word
12
13expand_attributes_wrong_form =
14    attribute must be of form: `attributes(foo, bar)`
15
16expand_cannot_be_name_of_macro =
17    `{$trait_ident}` cannot be a name of {$macro_type} macro
18
19expand_count_repetition_misplaced =
20    `count` can not be placed inside the inner-most repetition
21
22expand_duplicate_matcher_binding = duplicate matcher binding
23    .label = duplicate binding
24    .label2 = previous binding
25
26expand_expected_comma_in_list =
27    expected token: `,`
28
29expand_explain_doc_comment_inner =
30    inner doc comments expand to `#![doc = "..."]`, which is what this macro attempted to match
31
32expand_explain_doc_comment_outer =
33    outer doc comments expand to `#[doc = "..."]`, which is what this macro attempted to match
34
35expand_expr_repeat_no_syntax_vars =
36    attempted to repeat an expression containing no syntax variables matched as repeating at this depth
37
38expand_feature_included_in_edition =
39    the feature `{$feature}` is included in the Rust {$edition} edition
40
41expand_feature_not_allowed =
42    the feature `{$name}` is not in the list of allowed features
43
44expand_feature_removed =
45    feature has been removed
46    .label = feature has been removed
47    .reason = {$reason}
48
49expand_helper_attribute_name_invalid =
50    `{$name}` cannot be a name of derive helper attribute
51
52expand_incomplete_parse =
53    macro expansion ignores token `{$token}` and any following
54    .label = caused by the macro expansion here
55    .note = the usage of `{$macro_path}!` is likely invalid in {$kind_name} context
56    .suggestion_add_semi = you might be missing a semicolon here
57
58expand_invalid_cfg_expected_syntax = expected syntax is
59
60expand_invalid_cfg_multiple_predicates = multiple `cfg` predicates are specified
61expand_invalid_cfg_no_parens = `cfg` is not followed by parentheses
62expand_invalid_cfg_no_predicate = `cfg` predicate is not specified
63expand_invalid_cfg_predicate_literal = `cfg` predicate key cannot be a literal
64expand_macro_body_stability =
65    macros cannot have body stability attributes
66    .label = invalid body stability attribute
67    .label2 = body stability attribute affects this macro
68
69expand_macro_const_stability =
70    macros cannot have const stability attributes
71    .label = invalid const stability attribute
72    .label2 = const stability attribute affects this macro
73
74expand_malformed_feature_attribute =
75    malformed `feature` attribute input
76    .expected = expected just one word
77
78expand_meta_var_dif_seq_matchers = {$msg}
79
80expand_meta_var_expr_unrecognized_var =
81    variable `{$key}` is not recognized in meta-variable expression
82
83expand_module_circular =
84    circular modules: {$modules}
85
86expand_module_file_not_found =
87    file not found for module `{$name}`
88    .help = to create the module `{$name}`, create file "{$default_path}" or "{$secondary_path}"
89
90expand_module_in_block =
91    cannot declare a non-inline module inside a block unless it has a path attribute
92    .note = maybe `use` the module `{$name}` instead of redeclaring it
93
94expand_module_multiple_candidates =
95    file for module `{$name}` found at both "{$default_path}" and "{$secondary_path}"
96    .help = delete or rename one of them to remove the ambiguity
97
98expand_must_repeat_once =
99    this must repeat at least once
100
101expand_not_a_meta_item =
102    not a meta item
103
104expand_only_one_argument =
105    {$name} takes 1 argument
106
107expand_only_one_word =
108    must only be one word
109
110expand_proc_macro_derive_tokens =
111    proc-macro derive produced unparsable tokens
112
113expand_proc_macro_panicked =
114    proc macro panicked
115    .help = message: {$message}
116
117expand_recursion_limit_reached =
118    recursion limit reached while expanding `{$descr}`
119    .help = consider increasing the recursion limit by adding a `#![recursion_limit = "{$suggested_limit}"]` attribute to your crate (`{$crate_name}`)
120
121expand_remove_expr_not_supported =
122    removing an expression is not supported in this position
123
124expand_remove_node_not_supported =
125    removing {$descr} is not supported in this position
126
127expand_resolve_relative_path =
128    cannot resolve relative path in non-file source `{$path}`
129
130expand_takes_no_arguments =
131    {$name} takes no arguments
132
133expand_trace_macro = trace_macro
134
135expand_unsupported_key_value =
136    key-value macro attributes are not supported
137
138expand_var_still_repeating =
139    variable '{$ident}' is still repeating at this depth
140
141expand_wrong_fragment_kind =
142    non-{$kind} macro in {$kind} position: {$name}