Skip to content

rustdoc: Document exported macros #11613

Description

@sfackler

Now that macros can be exported across crates, it'd be nice if Rustdoc would pick up macro_rules-style macros that are exported. E.g.

/// This is a macro that foos
#[macro_export]
macro_rules! foo(
    (slow $i:ident) => (...);
    (fast $i:ident) => (...);
)

Bonus points for being able to document each pattern.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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