Skip to content

#[doc(hidden)] does not work for externally used macros #39436

Closed

Description

@SergioBenitez

If a macro is imported using use (via the use_extern_macros feature), its documentation cannot be hidden. For instance, if the code is:

extern crate serde_json;

#[doc(hidden)]
pub use serde_json::json;

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

Activity

  1. self-assigned this
    on Feb 1, 2017
  2. abonander commented on Mar 24, 2017

    @abonander
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions