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
I'm going to tinker on this while I'm out of town over the weekend. @jseyfried bug me about this Monday evening-ish if I don't have a progress report by then.
Rustdoc: memoize `pub use`-reexported macros so they don't appear twice in docs
Closesrust-lang#39436
Preserves existing behavior for `#[macro_reexport]`. `pub use`'d macros are shown as reexports unless inlined, and also correctly obey `#[doc(hidden)]`.
r? @jseyfried
cc @SergioBenitez
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Mar 29, 2017
Rustdoc: memoize `pub use`-reexported macros so they don't appear twice in docs
Closesrust-lang#39436
Preserves existing behavior for `#[macro_reexport]`. `pub use`'d macros are shown as reexports unless inlined, and also correctly obey `#[doc(hidden)]`.
r? @jseyfried
cc @SergioBenitez
If a macro is imported using
use
(via theuse_extern_macros
feature), its documentation cannot be hidden. For instance, if the code is:The documentation for the
json
macro will appear in the rustdocs. Of course, the expected result is that the documentation does not appear.cc @jseyfried @nrc @dtolnay
The text was updated successfully, but these errors were encountered: