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
..
clean Fix wrong names when inlining 2020-11-21 10:19:06 -05:00
doctest Update doctest tests 2020-11-17 10:33:14 +01:00
formats Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
html Prevent feature information to be hidden if it's on the impl directly 2020-11-22 16:10:16 +01:00
json Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
passes Fix rustdoc: Referencing methods on extern_types does not resolve #78777: handle DefKind::ForeignTy variant 2020-11-18 21:20:51 +00:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Simplfy color availability check 2020-11-17 10:33:14 +01:00
config.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
core.rs Fix warnings 2020-11-15 11:21:13 -05:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Remove unused import 2020-11-17 10:33:14 +01:00
doctree.rs Fix wrong names when inlining 2020-11-21 10:19:06 -05:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
fold.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
lib.rs Simplfy color availability check 2020-11-17 10:33:14 +01:00
markdown.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
visit_ast.rs Fix wrong names when inlining 2020-11-21 10:19:06 -05:00
visit_lib.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00

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