Update error message for doc(keyword)
This commit is contained in:
parent
2ba483883e
commit
3c77b56d94
3 changed files with 3 additions and 3 deletions
|
@ -328,7 +328,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
|
|||
);
|
||||
|
||||
if nested_meta.has_name(sym::keyword) {
|
||||
let msg = concat!("`#[doc(keyword)]` is meant for internal use only");
|
||||
let msg = "`#[doc(keyword)]` 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