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_inline_conflict =
49
+
conflicting doc inlining attributes
50
+
.help = remove one of the conflicting attributes
51
+
52
+
attr_parsing_doc_inline_conflict_first =
53
+
this attribute...
54
+
55
+
attr_parsing_doc_inline_conflict_second =
56
+
{"."}..conflicts with this attribute
57
+
58
+
attr_parsing_doc_invalid =
59
+
invalid `doc` attribute
60
+
61
+
attr_parsing_doc_keyword_not_keyword =
62
+
nonexistent keyword `{$keyword}` used in `#[doc(keyword = "...")]`
63
+
.help = only existing keywords are allowed in core/std
64
+
65
+
attr_parsing_doc_test_literal = `#![doc(test(...)]` does not take a literal
66
+
67
+
attr_parsing_doc_test_takes_list =
68
+
`#[doc(test(...)]` takes a list of attributes
69
+
70
+
attr_parsing_doc_test_unknown =
71
+
unknown `doc(test)` attribute `{$name}`
72
+
73
+
attr_parsing_doc_unknown_any =
74
+
unknown `doc` attribute `{$name}`
75
+
76
+
attr_parsing_doc_unknown_include =
77
+
unknown `doc` attribute `include`
78
+
.suggestion = use `doc = include_str!` instead
79
+
80
+
attr_parsing_doc_unknown_passes =
81
+
unknown `doc` attribute `{$name}`
82
+
.note = `doc` attribute `{$name}` no longer functions; see issue #44136 <https://github.com/rust-lang/rust/issues/44136>
83
+
.label = no longer functions
84
+
.no_op_note = `doc({$name})` is now a no-op
85
+
86
+
attr_parsing_doc_unknown_plugins =
87
+
unknown `doc` attribute `plugins`
88
+
.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>
89
+
.label = no longer functions
90
+
.no_op_note = `doc(plugins)` is now a no-op
91
+
92
+
attr_parsing_doc_unknown_spotlight =
93
+
unknown `doc` attribute `spotlight`
94
+
.note = `doc(spotlight)` was renamed to `doc(notable_trait)`
`#![doc(auto_cfg({$attr_name}(...)))]` expects a list of items
312
-
313
-
attr_parsing_doc_invalid =
314
-
invalid `doc` attribute
315
-
316
-
attr_parsing_doc_unknown_include =
317
-
unknown `doc` attribute `include`
318
-
.suggestion = use `doc = include_str!` instead
319
-
320
-
attr_parsing_doc_unknown_spotlight =
321
-
unknown `doc` attribute `spotlight`
322
-
.note = `doc(spotlight)` was renamed to `doc(notable_trait)`
323
-
.suggestion = use `notable_trait` instead
324
-
.no_op_note = `doc(spotlight)` is now a no-op
325
-
326
-
attr_parsing_doc_unknown_passes =
327
-
unknown `doc` attribute `{$name}`
328
-
.note = `doc` attribute `{$name}` no longer functions; see issue #44136 <https://github.com/rust-lang/rust/issues/44136>
329
-
.label = no longer functions
330
-
.no_op_note = `doc({$name})` is now a no-op
331
-
332
-
attr_parsing_doc_unknown_plugins =
333
-
unknown `doc` attribute `plugins`
334
-
.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>
335
-
.label = no longer functions
336
-
.no_op_note = `doc(plugins)` is now a no-op
337
-
338
-
attr_parsing_doc_unknown_any =
339
-
unknown `doc` attribute `{$name}`
340
-
341
-
attr_parsing_doc_auto_cfg_wrong_literal =
342
-
expected boolean for `#[doc(auto_cfg = ...)]`
343
-
344
-
attr_parsing_doc_test_takes_list =
345
-
`#[doc(test(...)]` takes a list of attributes
346
-
347
-
attr_parsing_doc_test_unknown =
348
-
unknown `doc(test)` attribute `{$name}`
349
-
350
-
attr_parsing_doc_test_literal = `#![doc(test(...)]` does not take a literal
351
-
352
-
attr_parsing_doc_alias_malformed =
353
-
doc alias attribute expects a string `#[doc(alias = "a")]` or a list of strings `#[doc(alias("a", "b"))]`
350
+
attr_parsing_whole_archive_needs_static =
351
+
linking modifier `whole-archive` is only compatible with `static` linking kind
0 commit comments