You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`#![doc(auto_cfg({$attr_name}(...)))]` only accepts identifiers or key/value items
44
-
45
-
attr_parsing_doc_auto_cfg_wrong_literal =
46
-
expected boolean for `#[doc(auto_cfg = ...)]`
47
-
48
-
attr_parsing_doc_invalid =
49
-
invalid `doc` attribute
50
-
51
33
attr_parsing_doc_keyword_not_keyword =
52
34
nonexistent keyword `{$keyword}` used in `#[doc(keyword = "...")]`
53
35
.help = only existing keywords are allowed in core/std
54
36
55
-
attr_parsing_doc_test_literal = `#![doc(test(...)]` does not take a literal
56
-
57
-
attr_parsing_doc_test_takes_list =
58
-
`#[doc(test(...)]` takes a list of attributes
59
-
60
-
attr_parsing_doc_test_unknown =
61
-
unknown `doc(test)` attribute `{$name}`
62
-
63
-
attr_parsing_doc_unknown_any =
64
-
unknown `doc` attribute `{$name}`
65
-
66
-
attr_parsing_doc_unknown_include =
67
-
unknown `doc` attribute `include`
68
-
.suggestion = use `doc = include_str!` instead
69
-
70
-
attr_parsing_doc_unknown_passes =
71
-
unknown `doc` attribute `{$name}`
72
-
.note = `doc` attribute `{$name}` no longer functions; see issue #44136 <https://github.com/rust-lang/rust/issues/44136>
73
-
.label = no longer functions
74
-
.no_op_note = `doc({$name})` is now a no-op
75
-
76
-
attr_parsing_doc_unknown_plugins =
77
-
unknown `doc` attribute `plugins`
78
-
.note = `doc` attribute `plugins` no longer functions; see issue #44136 <https://github.com/rust-lang/rust/issues/44136> and CVE-2018-1000622 <https://nvd.nist.gov/vuln/detail/CVE-2018-1000622>
79
-
.label = no longer functions
80
-
.no_op_note = `doc(plugins)` is now a no-op
81
-
82
-
attr_parsing_doc_unknown_spotlight =
83
-
unknown `doc` attribute `spotlight`
84
-
.note = `doc(spotlight)` was renamed to `doc(notable_trait)`
85
-
.suggestion = use `notable_trait` instead
86
-
.no_op_note = `doc(spotlight)` is now a no-op
87
-
88
-
attr_parsing_empty_attribute =
89
-
unused attribute
90
-
.suggestion = {$valid_without_list->
91
-
[true] remove these parentheses
92
-
*[other] remove this attribute
93
-
}
94
-
.note = {$valid_without_list->
95
-
[true] using `{$attr_path}` with an empty list is equivalent to not using a list at all
96
-
*[other] using `{$attr_path}` with an empty list has no effect
0 commit comments