Skip to content

feat: Support #[doc(hidden)] #[macro_export] macro_rules! that are reexported in a place different than the crate root#22234

Open
ChayimFriedman2 wants to merge 3 commits into
rust-lang:masterfrom
ChayimFriedman2:macro-export-hidden
Open

feat: Support #[doc(hidden)] #[macro_export] macro_rules! that are reexported in a place different than the crate root#22234
ChayimFriedman2 wants to merge 3 commits into
rust-lang:masterfrom
ChayimFriedman2:macro-export-hidden

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

With some limitations forced on us by the analyzer, as explained in the code.

Closes #20678 to the best we can. googletest macros' exports are actually not in the same module, so they will need to change that.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 1, 2026
@rustbot

This comment has been minimized.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 1, 2026

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Re-exported doc(hidden) macro is not suggested by auto-complete.

2 participants