]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_messages/locales/en-US/attr.ftl
Rollup merge of #107706 - tgross35:atomic-as-mut-ptr, r=m-ou-se
[rust.git] / compiler / rustc_error_messages / locales / en-US / attr.ftl
1 attr_expected_one_cfg_pattern =
2     expected 1 cfg-pattern
3
4 attr_invalid_predicate =
5     invalid predicate `{$predicate}`
6
7 attr_multiple_item =
8     multiple '{$item}' items
9
10 attr_incorrect_meta_item =
11     incorrect meta item
12
13 attr_unknown_meta_item =
14     unknown meta item '{$item}'
15     .label = expected one of {$expected}
16
17 attr_missing_since =
18     missing 'since'
19
20 attr_missing_note =
21     missing 'note'
22
23 attr_multiple_stability_levels =
24     multiple stability levels
25
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
33
34 attr_missing_feature =
35     missing 'feature'
36
37 attr_non_ident_feature =
38     'feature' is not an identifier
39
40 attr_missing_issue =
41     missing 'issue'
42
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
45
46 attr_invalid_repr_hint_no_paren =
47     invalid representation hint: `{$name}` does not take a parenthesized argument list
48
49 attr_invalid_repr_hint_no_value =
50     invalid representation hint: `{$name}` does not take a value
51
52 attr_unsupported_literal_generic =
53     unsupported literal
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
62
63 attr_invalid_repr_align_need_arg =
64     invalid `repr(align)` attribute: `align` needs an argument
65     .suggestion = supply an argument here
66
67 attr_invalid_repr_generic =
68     invalid `repr({$repr_arg})` attribute: {$error_part}
69
70 attr_incorrect_repr_format_align_one_arg =
71     incorrect `repr(align)` attribute format: `align` takes exactly one argument in parentheses
72
73 attr_incorrect_repr_format_generic =
74     incorrect `repr({$repr_arg})` attribute format
75     .suggestion = use parentheses instead
76
77 attr_rustc_promotable_pairing =
78     `rustc_promotable` attribute must be paired with either a `rustc_const_unstable` or a `rustc_const_stable` attribute
79
80 attr_rustc_allowed_unstable_pairing =
81     `rustc_allowed_through_unstable_modules` attribute must be paired with a `stable` attribute
82
83 attr_cfg_predicate_identifier =
84     `cfg` predicate key must be an identifier
85
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
90
91 attr_expected_single_version_literal =
92     expected single version literal
93
94 attr_expected_version_literal =
95     expected a version literal
96
97 attr_expects_feature_list =
98     `{$name}` expects a list of feature names
99
100 attr_expects_features =
101     `{$name}` expects feature names
102
103 attr_soft_no_args =
104     `soft` should not have any arguments
105
106 attr_unknown_version_literal =
107     unknown version literal format, assuming it refers to a future version