Describe the bug
Our project uses #[deny(missing_docs)] to enforce documentation for all public functions. The tool macro in this crate generates an internal public function that does not have documentation, and that triggers this lint.
To Reproduce
Steps to reproduce the behavior:
- Use the
tool macro in a crate with #![deny(missing_docs)]
- Observe this error:
error: missing documentation for an associated function
--> [redacted].rs:83:5
|
83 | / #[tool(
84 | | name = "redacted",
85 | | description = "redacted"
86 | | )]
| |______^
|
= note: this error originates in the attribute macro `tool` (in Nightly builds, run with -Z macro-backtrace for more info)
Expected behavior
The macro should not generate code which triggers lints.
Working on a PR to fix this.
Describe the bug
Our project uses #[deny(missing_docs)] to enforce documentation for all public functions. The
toolmacro in this crate generates an internal public function that does not have documentation, and that triggers this lint.To Reproduce
Steps to reproduce the behavior:
toolmacro in a crate with#![deny(missing_docs)]Expected behavior
The macro should not generate code which triggers lints.
Working on a PR to fix this.