fork/rust

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

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

master
3.2 KiB107 linesraw
1attr_cfg_predicate_identifier =
2    `cfg` predicate key must be an identifier
3
4attr_deprecated_item_suggestion =
5    suggestions on deprecated items are unstable
6    .help = add `#![feature(deprecated_suggestion)]` to the crate root
7    .note = see #94785 for more details
8
9attr_expected_one_cfg_pattern =
10    expected 1 cfg-pattern
11
12attr_expected_single_version_literal =
13    expected single version literal
14
15attr_expected_version_literal =
16    expected a version literal
17
18attr_expects_feature_list =
19    `{$name}` expects a list of feature names
20
21attr_expects_features =
22    `{$name}` expects feature names
23
24attr_incorrect_meta_item =
25    incorrect meta item
26
27attr_incorrect_repr_format_align_one_arg =
28    incorrect `repr(align)` attribute format: `align` takes exactly one argument in parentheses
29
30attr_incorrect_repr_format_generic =
31    incorrect `repr({$repr_arg})` attribute format
32    .suggestion = use parentheses instead
33
34attr_incorrect_repr_format_packed_one_or_zero_arg =
35    incorrect `repr(packed)` attribute format: `packed` takes exactly one parenthesized argument, or no parentheses at all
36
37attr_invalid_issue_string =
38    `issue` must be a non-zero numeric string or "none"
39    .must_not_be_zero = `issue` must not be "0", use "none" instead
40    .empty = cannot parse integer from empty string
41    .invalid_digit = invalid digit found in string
42    .pos_overflow = number too large to fit in target type
43    .neg_overflow = number too small to fit in target type
44
45attr_invalid_predicate =
46    invalid predicate `{$predicate}`
47
48attr_invalid_repr_align_need_arg =
49    invalid `repr(align)` attribute: `align` needs an argument
50    .suggestion = supply an argument here
51
52attr_invalid_repr_generic =
53    invalid `repr({$repr_arg})` attribute: {$error_part}
54
55attr_invalid_repr_hint_no_paren =
56    invalid representation hint: `{$name}` does not take a parenthesized argument list
57
58attr_invalid_repr_hint_no_value =
59    invalid representation hint: `{$name}` does not take a value
60
61attr_missing_feature =
62    missing 'feature'
63
64attr_missing_issue =
65    missing 'issue'
66
67attr_missing_note =
68    missing 'note'
69
70attr_missing_since =
71    missing 'since'
72
73attr_multiple_item =
74    multiple '{$item}' items
75
76attr_multiple_stability_levels =
77    multiple stability levels
78
79attr_non_ident_feature =
80    'feature' is not an identifier
81
82attr_rustc_allowed_unstable_pairing =
83    `rustc_allowed_through_unstable_modules` attribute must be paired with a `stable` attribute
84
85attr_rustc_promotable_pairing =
86    `rustc_promotable` attribute must be paired with either a `rustc_const_unstable` or a `rustc_const_stable` attribute
87
88attr_soft_no_args =
89    `soft` should not have any arguments
90
91attr_unknown_meta_item =
92    unknown meta item '{$item}'
93    .label = expected one of {$expected}
94
95attr_unknown_version_literal =
96    unknown version literal format, assuming it refers to a future version
97
98attr_unsupported_literal_cfg_string =
99    literal in `cfg` predicate value must be a string
100attr_unsupported_literal_deprecated_kv_pair =
101    item in `deprecated` must be a key/value pair
102attr_unsupported_literal_deprecated_string =
103    literal in `deprecated` value must be a string
104attr_unsupported_literal_generic =
105    unsupported literal
106attr_unsupported_literal_suggestion =
107    consider removing the prefix