Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions compiler/rustc_attr_parsing/messages.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,38 @@ attr_parsing_unused_multiple =
.suggestion = remove this attribute
.note = attribute also specified here


attr_parsing_doc_alias_duplicated = doc alias is duplicated
.label = first defined here

-attr_parsing_previously_accepted =
this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!

attr_parsing_whole_archive_needs_static =
linking modifier `whole-archive` is only compatible with `static` linking kind

attr_parsing_unused_no_lints_note =
attribute `{$name}` without any lints has no effect

attr_parsing_doc_alias_empty =
{$attr_str} attribute cannot have empty value

attr_parsing_doc_alias_bad_char =
{$char_} character isn't allowed in {$attr_str}

attr_parsing_doc_alias_start_end =
{$attr_str} cannot start or end with ' '

attr_parsing_doc_keyword_not_keyword =
nonexistent keyword `{$keyword}` used in `#[doc(keyword = "...")]`
.help = only existing keywords are allowed in core/std

attr_parsing_doc_inline_conflict =
conflicting doc inlining attributes
.help = remove one of the conflicting attributes

attr_parsing_doc_inline_conflict_first =
this attribute...

attr_parsing_doc_inline_conflict_second =
{"."}..conflicts with this attribute
Loading
Loading