Skip to content

rustdoc: Re-exported macros 2.0 are rendered as macro_rules! #86276

Closed
@camelid

Description

@camelid

I noticed this while working on a fix for #86208. I think the issue is just that clean/inline.rs does not check if the macro is a macro_rules!, whereas clean/mod.rs does.

core (original)

image

std (re-export)

image

Metadata

Metadata

Labels

A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateA-decl-macros-2-0Area: Declarative macros 2.0 (#39412)A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.P-lowLow priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions