rustc_expand: make diagnostic translatable

This commit is contained in:
Xiretza 2024-04-09 20:43:46 +00:00
parent bfacfe2510
commit 3289a9a60d
2 changed files with 8 additions and 4 deletions

View file

@ -10,6 +10,11 @@ expand_attribute_meta_item =
expand_attribute_single_word =
attribute must only be a single word
expand_attributes_on_expressions_experimental =
attributes on expressions are experimental
.help_outer_doc = `///` is used for outer documentation comments; for a plain comment, use `//`
.help_inner_doc = `//!` is used for inner documentation comments; for a plain comment, use `//` by removing the `!` or inserting a space in between them: `// !`
expand_attributes_wrong_form =
attribute must be of form: `attributes(foo, bar)`