rust/src/librustdoc
Guillaume Gomez 70a839fd8f
Rollup merge of #79300 - GuillaumeGomez:hidden-feature-info, r=jyn514
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.

![Screenshot from 2020-11-22 14-40-11](https://user-images.githubusercontent.com/3050060/99905528-997fab00-2cd1-11eb-83be-ed06b0cb97df.png)

r? `@jyn514`
2020-11-22 16:15:13 +01:00
..
2020-11-21 10:19:06 -05:00
2020-11-17 10:33:14 +01:00
2020-11-17 10:33:14 +01:00
2020-11-15 11:21:13 -05:00
2020-11-17 10:33:14 +01:00
2020-11-21 10:19:06 -05:00
2020-11-17 10:33:14 +01:00
2020-11-21 10:19:06 -05:00

For more information about how librustdoc works, see the rustc dev guide.