2022-08-21 05:36:16 -05:00
|
|
|
attr_cfg_predicate_identifier =
|
|
|
|
`cfg` predicate key must be an identifier
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-21 05:36:16 -05:00
|
|
|
attr_deprecated_item_suggestion =
|
|
|
|
suggestions on deprecated items are unstable
|
|
|
|
.help = add `#![feature(deprecated_suggestion)]` to the crate root
|
|
|
|
.note = see #94785 for more details
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_expected_one_cfg_pattern =
|
|
|
|
expected 1 cfg-pattern
|
|
|
|
|
|
|
|
attr_expected_single_version_literal =
|
|
|
|
expected single version literal
|
|
|
|
|
2022-08-21 01:46:05 -05:00
|
|
|
attr_expected_version_literal =
|
2022-08-21 14:43:03 -05:00
|
|
|
expected a version literal
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-21 01:46:05 -05:00
|
|
|
attr_expects_feature_list =
|
|
|
|
`{$name}` expects a list of feature names
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-21 13:56:29 -05:00
|
|
|
attr_expects_features =
|
|
|
|
`{$name}` expects feature names
|
2022-08-21 01:46:05 -05:00
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_incorrect_meta_item =
|
|
|
|
incorrect meta item
|
|
|
|
|
2022-08-21 01:46:05 -05:00
|
|
|
attr_incorrect_repr_format_align_one_arg =
|
|
|
|
incorrect `repr(align)` attribute format: `align` takes exactly one argument in parentheses
|
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_incorrect_repr_format_generic =
|
|
|
|
incorrect `repr({$repr_arg})` attribute format
|
|
|
|
.suggestion = use parentheses instead
|
|
|
|
|
|
|
|
attr_incorrect_repr_format_packed_one_or_zero_arg =
|
|
|
|
incorrect `repr(packed)` attribute format: `packed` takes exactly one parenthesized argument, or no parentheses at all
|
|
|
|
|
|
|
|
attr_invalid_issue_string =
|
|
|
|
`issue` must be a non-zero numeric string or "none"
|
|
|
|
.must_not_be_zero = `issue` must not be "0", use "none" instead
|
|
|
|
.empty = cannot parse integer from empty string
|
|
|
|
.invalid_digit = invalid digit found in string
|
|
|
|
.pos_overflow = number too large to fit in target type
|
|
|
|
.neg_overflow = number too small to fit in target type
|
2022-08-21 01:46:05 -05:00
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_invalid_predicate =
|
|
|
|
invalid predicate `{$predicate}`
|
|
|
|
|
|
|
|
attr_invalid_repr_align_need_arg =
|
|
|
|
invalid `repr(align)` attribute: `align` needs an argument
|
|
|
|
.suggestion = supply an argument here
|
|
|
|
|
|
|
|
attr_invalid_repr_generic =
|
|
|
|
invalid `repr({$repr_arg})` attribute: {$error_part}
|
|
|
|
|
|
|
|
attr_invalid_repr_hint_no_paren =
|
|
|
|
invalid representation hint: `{$name}` does not take a parenthesized argument list
|
|
|
|
|
|
|
|
attr_invalid_repr_hint_no_value =
|
|
|
|
invalid representation hint: `{$name}` does not take a value
|
2022-08-21 01:46:05 -05:00
|
|
|
|
|
|
|
attr_missing_feature =
|
|
|
|
missing 'feature'
|
2022-08-21 01:48:14 -05:00
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_missing_issue =
|
|
|
|
missing 'issue'
|
2022-08-21 01:48:14 -05:00
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_missing_note =
|
|
|
|
missing 'note'
|
2022-08-21 01:48:14 -05:00
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_missing_since =
|
|
|
|
missing 'since'
|
|
|
|
|
|
|
|
attr_multiple_item =
|
|
|
|
multiple '{$item}' items
|
2022-08-21 01:48:14 -05:00
|
|
|
|
|
|
|
attr_multiple_stability_levels =
|
|
|
|
multiple stability levels
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-21 01:48:14 -05:00
|
|
|
attr_non_ident_feature =
|
|
|
|
'feature' is not an identifier
|
|
|
|
|
|
|
|
attr_rustc_allowed_unstable_pairing =
|
|
|
|
`rustc_allowed_through_unstable_modules` attribute must be paired with a `stable` attribute
|
|
|
|
|
2022-08-21 05:36:16 -05:00
|
|
|
attr_rustc_promotable_pairing =
|
|
|
|
`rustc_promotable` attribute must be paired with either a `rustc_const_unstable` or a `rustc_const_stable` attribute
|
2022-08-21 14:43:03 -05:00
|
|
|
|
|
|
|
attr_soft_no_args =
|
|
|
|
`soft` should not have any arguments
|
|
|
|
|
|
|
|
attr_unknown_meta_item =
|
2022-08-21 01:46:05 -05:00
|
|
|
unknown meta item '{$item}'
|
|
|
|
.label = expected one of {$expected}
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-21 14:43:03 -05:00
|
|
|
attr_unknown_version_literal =
|
|
|
|
unknown version literal format, assuming it refers to a future version
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-21 01:46:05 -05:00
|
|
|
attr_unsupported_literal_cfg_string =
|
|
|
|
literal in `cfg` predicate value must be a string
|
|
|
|
attr_unsupported_literal_deprecated_kv_pair =
|
|
|
|
item in `deprecated` must be a key/value pair
|
|
|
|
attr_unsupported_literal_deprecated_string =
|
|
|
|
literal in `deprecated` value must be a string
|
|
|
|
attr_unsupported_literal_generic =
|
|
|
|
unsupported literal
|
|
|
|
attr_unsupported_literal_suggestion =
|
|
|
|
consider removing the prefix
|