pub
with macro
2.0 breaks docs
#45266
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-macros-2.0
Area: Declarative macros 2.0 (#39412)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Using
pub
qualifier with declarative macros 2.0 breaks themissing_docs
lint for private items, as well as exposes them with rustdoc.The following code shouldn't produce warnings (playground):
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: