#[macro_export] stops macro's documentation tests from working #29286
Labels
A-doctests
Area: Documentation tests, run by rustdoc
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Adding
#[macro_export]
to a macro stops it from working in documentation tests. Here's a few examples:They both will yield output similar to this (using cargo):
Removing the export makes it work fine:
The text was updated successfully, but these errors were encountered: