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
|
@ -402,8 +402,8 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
|
|||
gate_feature_post!(self, rustdoc_internals, attr.span, msg);
|
||||
}
|
||||
|
||||
if nested_meta.has_name(sym::tuple_variadic) {
|
||||
let msg = "`#[doc(tuple_variadic)]` is meant for internal use only";
|
||||
if nested_meta.has_name(sym::fake_variadic) {
|
||||
let msg = "`#[doc(fake_variadic)]` is meant for internal use only";
|
||||
gate_feature_post!(self, rustdoc_internals, attr.span, msg);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue