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