fork/rust

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

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

master
5.6 KiB149 linesraw
1ast_lowering_abi_specified_multiple_times =
2    `{$prev_name}` ABI specified multiple times
3    .label = previously specified here
4    .note = these ABIs are equivalent on the current target
5
6ast_lowering_arbitrary_expression_in_pattern =
7    arbitrary expressions aren't allowed in patterns
8
9ast_lowering_argument = argument
10
11ast_lowering_assoc_ty_parentheses =
12    parenthesized generic arguments cannot be used in associated type constraints
13
14ast_lowering_async_generators_not_supported =
15    `async` generators are not yet supported
16
17ast_lowering_async_non_move_closure_not_supported =
18    `async` non-`move` closures with parameters are not currently supported
19    .help = consider using `let` statements to manually capture variables by reference before entering an `async move` closure
20
21ast_lowering_att_syntax_only_x86 =
22    the `att_syntax` option is only supported on x86
23
24ast_lowering_await_only_in_async_fn_and_blocks =
25    `await` is only allowed inside `async` functions and blocks
26    .label = only allowed inside `async` functions and blocks
27
28ast_lowering_bad_return_type_notation_inputs =
29    argument types not allowed with return type notation
30    .suggestion = remove the input types
31
32ast_lowering_bad_return_type_notation_output =
33    return type not allowed with return type notation
34    .suggestion = remove the return type
35
36ast_lowering_base_expression_double_dot =
37    base expression required after `..`
38    .label = add a base expression here
39
40ast_lowering_clobber_abi_not_supported =
41    `clobber_abi` is not supported on this target
42
43ast_lowering_closure_cannot_be_static = closures cannot be static
44
45ast_lowering_does_not_support_modifiers =
46    the `{$class_name}` register class does not support template modifiers
47
48ast_lowering_extra_double_dot =
49    `..` can only be used once per {$ctx} pattern
50    .label = can only be used once per {$ctx} pattern
51
52ast_lowering_functional_record_update_destructuring_assignment =
53    functional record updates are not allowed in destructuring assignments
54    .suggestion = consider removing the trailing pattern
55
56ast_lowering_generator_too_many_parameters =
57    too many parameters for a generator (expected 0 or 1 parameters)
58
59ast_lowering_generic_type_with_parentheses =
60    parenthesized type parameters may only be used with a `Fn` trait
61    .label = only `Fn` traits may use parentheses
62
63ast_lowering_inclusive_range_with_no_end = inclusive range with no end
64
65ast_lowering_inline_asm_unsupported_target =
66    inline assembly is unsupported on this target
67
68ast_lowering_invalid_abi =
69    invalid ABI: found `{$abi}`
70    .label = invalid ABI
71    .note = invoke `{$command}` for a full list of supported calling conventions.
72
73ast_lowering_invalid_abi_clobber_abi =
74    invalid ABI for `clobber_abi`
75    .note = the following ABIs are supported on this target: {$supported_abis}
76
77ast_lowering_invalid_abi_suggestion = did you mean
78
79ast_lowering_invalid_asm_template_modifier_const =
80    asm template modifiers are not allowed for `const` arguments
81
82ast_lowering_invalid_asm_template_modifier_reg_class =
83    invalid asm template modifier for this register class
84
85ast_lowering_invalid_asm_template_modifier_sym =
86    asm template modifiers are not allowed for `sym` arguments
87
88ast_lowering_invalid_register =
89    invalid register `{$reg}`: {$error}
90
91ast_lowering_invalid_register_class =
92    invalid register class `{$reg_class}`: {$error}
93
94ast_lowering_misplaced_assoc_ty_binding =
95    associated type bounds are only allowed in where clauses and function signatures, not in {$position}
96
97ast_lowering_misplaced_double_dot =
98    `..` patterns are not allowed here
99    .note = only allowed in tuple, tuple struct, and slice patterns
100
101ast_lowering_misplaced_impl_trait =
102    `impl Trait` only allowed in function and inherent method argument and return types, not in {$position}
103
104ast_lowering_misplaced_relax_trait_bound =
105    `?Trait` bounds are only permitted at the point where a type parameter is declared
106
107ast_lowering_not_supported_for_lifetime_binder_async_closure =
108    `for<...>` binders on `async` closures are not currently supported
109
110ast_lowering_previously_used_here = previously used here
111
112ast_lowering_register1 = register `{$reg1_name}`
113
114ast_lowering_register2 = register `{$reg2_name}`
115
116ast_lowering_register_class_only_clobber =
117    register class `{$reg_class_name}` can only be used as a clobber, not as an input or output
118
119ast_lowering_register_conflict =
120    register `{$reg1_name}` conflicts with register `{$reg2_name}`
121    .help = use `lateout` instead of `out` to avoid conflict
122
123ast_lowering_remove_parentheses = remove these parentheses
124
125ast_lowering_sub_tuple_binding =
126    `{$ident_name} @` is not allowed in a {$ctx}
127    .label = this is only allowed in slice patterns
128    .help = remove this and bind each tuple field independently
129
130ast_lowering_sub_tuple_binding_suggestion = if you don't need to use the contents of {$ident}, discard the tuple's remaining fields
131
132ast_lowering_support_modifiers =
133    the `{$class_name}` register class supports the following template modifiers: {$modifiers}
134
135ast_lowering_template_modifier = template modifier
136
137ast_lowering_this_not_async = this is not `async`
138
139ast_lowering_trait_fn_async =
140    functions in traits cannot be declared `async`
141    .label = `async` because of this
142    .note = `async` trait functions are not currently supported
143    .note2 = consider using the `async-trait` crate: https://crates.io/crates/async-trait
144
145ast_lowering_underscore_expr_lhs_assign =
146    in expressions, `_` can only be used on the left-hand side of an assignment
147    .label = `_` not allowed here
148
149ast_lowering_use_angle_brackets = use angle brackets instead