1
1
builtin_macros_alloc_error_must_be_fn = alloc_error_handler must be a function
2
2
builtin_macros_alloc_must_statics = allocators must be statics
3
3
4
+ builtin_macros_asm_attribute_not_supported =
5
+ this attribute is not supported on assembly
6
+ builtin_macros_asm_cfg =
7
+ the `#[cfg(/* ... */)]` and `#[cfg_attr(/* ... */)]` attributes on assembly are unstable
8
+
4
9
builtin_macros_asm_clobber_abi = clobber_abi
5
10
builtin_macros_asm_clobber_no_reg = asm with `clobber_abi` must specify explicit registers for outputs
6
11
builtin_macros_asm_clobber_outputs = generic outputs
@@ -9,17 +14,6 @@ builtin_macros_asm_duplicate_arg = duplicate argument named `{$name}`
9
14
.label = previously here
10
15
.arg = duplicate argument
11
16
12
- builtin_macros_asm_expected_comma = expected token: `,`
13
- .label = expected `,`
14
-
15
- builtin_macros_asm_expected_other = expected operand, { $is_inline_asm ->
16
- [ false ] options
17
- *[ true ] clobber_abi, options
18
- } , or additional template string
19
-
20
- builtin_macros_asm_expected_string_literal = expected string literal
21
- .label = not a string literal
22
-
23
17
builtin_macros_asm_explicit_register_name = explicit register arguments cannot have names
24
18
25
19
builtin_macros_asm_mayunwind = asm labels are not allowed with the `may_unwind` option
@@ -45,17 +39,8 @@ builtin_macros_asm_pure_combine = the `pure` option must be combined with either
45
39
46
40
builtin_macros_asm_pure_no_output = asm with the `pure` option must have at least one output
47
41
48
- builtin_macros_asm_requires_template = requires at least a template string argument
49
-
50
- builtin_macros_asm_sym_no_path = expected a path for argument to `sym`
51
-
52
- builtin_macros_asm_underscore_input = _ cannot be used for input operands
53
-
54
42
builtin_macros_asm_unsupported_clobber_abi = `clobber_abi` cannot be used with `{ $macro_name } !`
55
43
56
- builtin_macros_asm_unsupported_operand = the `{ $symbol } ` operand cannot be used with `{ $macro_name } !`
57
- .label = the `{ $symbol } ` operand is not meaningful for global-scoped inline assembly, remove it
58
-
59
44
builtin_macros_asm_unsupported_option = the `{ $symbol } ` option cannot be used with `{ $macro_name } !`
60
45
.label = the `{ $symbol } ` option is not meaningful for global-scoped inline assembly
61
46
.suggestion = remove this option
@@ -162,7 +147,10 @@ builtin_macros_expected_comma_in_list = expected token: `,`
162
147
163
148
builtin_macros_expected_one_cfg_pattern = expected 1 cfg-pattern
164
149
165
- builtin_macros_expected_register_class_or_explicit_register = expected register class or explicit register
150
+ builtin_macros_expected_other = expected operand, { $is_inline_asm ->
151
+ [ false ] options
152
+ *[ true ] clobber_abi, options
153
+ } , or additional template string
166
154
167
155
builtin_macros_export_macro_rules = cannot export macro_rules! macros from a `proc-macro` crate type currently
168
156
@@ -255,8 +243,6 @@ builtin_macros_no_default_variant = `#[derive(Default)]` on enum with no `#[defa
255
243
.label = this enum needs a unit variant marked with `#[default]`
256
244
.suggestion = make this unit variant default by placing `#[default]` on it
257
245
258
- builtin_macros_non_abi = at least one abi must be provided as an argument to `clobber_abi`
259
-
260
246
builtin_macros_non_exhaustive_default = default variant must be exhaustive
261
247
.label = declared `#[non_exhaustive]` here
262
248
.help = consider a manual implementation of `Default`
0 commit comments