Rustdoc has --document-private-items and --document-hidden-items. It would be nice to have an option to document non-exported macros, which is currently not possible as far as I can tell.
I would expect --document-private-items to also document macros, so this seems like a bug
This is because rustdoc gets macros from Crate.exported_macros, which doesn't have the private macros in the first place. Intra-doc links don't have this problem because they look at Resolver::all_macros. Maybe the rest of rustdoc could use that too?
Marking as P-medium since this behavior is pretty confusing.
Most helpful comment
I would expect
--document-private-itemsto also document macros, so this seems like a bug