Closed
Description
In #48106 i moved plain extern crate some_crate
statements outside the fn main
that rustdoc generates, but i failed to take #[macro_use]
attributes into account. Since one of the common reasons people would add the manual crate import is to import its macros, this makes the feature less useful.
(Mentoring instructions to follow...)
Metadata
Metadata
Assignees
Labels
Category: An issue proposing an enhancement or a PR with one.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the rustdoc team, which will review and decide on the PR/issue.