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