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
+
attr_parsing_doc_keyword_not_keyword =
52
+
nonexistent keyword `{$keyword}` used in `#[doc(keyword = "...")]`
53
+
.help = only existing keywords are allowed in core/std
54
+
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)`
`#![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"))]`
0 commit comments