-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
#[deny(missing_docs)] ignores exported macro_rules! #56334
Copy link
Copy link
Closed
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)T-langRelevant to the language teamRelevant to the language team
Description
Activity
Metadata
Metadata
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)T-langRelevant to the language teamRelevant to the language team
If my crate exports a
macro_rules!macro, thedeny(missing_docs)attribute has no effect even though it probably should.The following code should, at the very least, provide a warning
Preventing this code from compiling would likely break some backwards compatability, but I don't see why it shouldn't at least give a warning.