You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
missing_docs lint triggers on all declarative macros 2.0 #57569
#![feature(decl_macro)]#![deny(missing_docs)]#![allow(unused)]//! my cratemod m {
macro a {() => {}}pub(crate) macro b {() => {}}pub macro c {() => {}}macro_rules! r {() => {}}pubfnf(){}}
error: missing documentation for macro
--> m.rs:7:5
|
7 | macro a { () => {} }
| ^^^^^^^
|
note: lint level defined here
--> m.rs:2:9
|
2 | #![deny(missing_docs)]
| ^^^^^^^^^^^^
error: missing documentation for macro
--> m.rs:8:5
|
8 | pub(crate) macro b { () => {} }
| ^^^^^^^^^^^^^^^^^^
error: missing documentation for macro
--> m.rs:9:5
|
9 | pub macro c { () => {} }
| ^^^^^^^^^^^
Activity
GuillaumeGomez commentedon Jan 16, 2019
That's interesting. A bad check very certainly on wether something is publically viewable or not.
inquisitivecrystal commentedon Jul 6, 2021
Going to see if I can figure this out.
@rustbot claim
@rustbot label C-bug T-compiler
inquisitivecrystal commentedon Jul 7, 2021
I have what I think is a solution implemented, but still need to do final testing. Fingers crossed.
Auto merge of rust-lang#86968 - inquisitivecrystal:missing-docs-v2, r…