allow(missing_docs)
does not work for macro definitions
#59306
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
It appears
deny(missing_docs)
will take macros into account since 1.33.0. So I tried to add#[allow(missing_docs)]
for some of the macros I don't want to write docs, and it doesn't seem to be working. Minimal reproducible example:It will fail with:
Rust playground: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=cf5ab453ab982bea1b435676cf46f119
Tested on nightly.
The text was updated successfully, but these errors were encountered: