rustdoc: extend #[doc(tuple_variadic)]
to fn pointers
The attribute is also renamed `fake_variadic`.
This commit is contained in:
parent
263edd43c5
commit
1169832f2f
21 changed files with 61 additions and 42 deletions
|
@ -81,8 +81,8 @@ passes-doc-keyword-not-mod = `#[doc(keyword = "...")]` should be used on modules
|
|||
|
||||
passes-doc-keyword-invalid-ident = `{$doc_keyword}` is not a valid identifier
|
||||
|
||||
passes-doc-tuple-variadic-not-first =
|
||||
`#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity
|
||||
passes-doc-fake-variadic-not-valid =
|
||||
`#[doc(fake_variadic)]` must be used on the first of a set of tuple or fn pointer trait impls with varying arity
|
||||
|
||||
passes-doc-keyword-only-impl = `#[doc(keyword = "...")]` should be used on impl blocks
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue