mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-31 05:16:10 +00:00
Prevent feature information to be hidden if it's on the impl directly Fixes #79279. So when a `#[doc(cfg...)]` is used on a trait impl directly, it's not hidden by the toggle.  r? `@jyn514`
For more information about how librustdoc works, see the rustc dev guide.