rust/src/librustdoc/clean
Mara Bos 99e075ff29
Rollup merge of #79525 - jyn514:feature-gate-normalize, r=GuillaumeGomez
Add -Z normalize-docs and enable it for compiler docs

Works around https://github.com/rust-lang/rust/issues/79459 by only enabling normalization for the compiler itself (and anyone who opts-in on nightly). Eventually I want to remove this and enable normalization by default, but that's turned out to be [really hard](https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/How.20do.20I.20normalize.20projection.20types.20to.20a.20single.20type.3F/near/218125195).

This uses a command line option instead of a feature gate so it's easier to pass it to all crates at once. Theoretically it's better to use a feature gate instead so that it's easier for people to use on docs.rs, but I'm also not terribly concerned with how easy it to use a temporary hack.

Addresses https://github.com/rust-lang/rust/issues/77459.
2020-12-01 10:50:18 +00:00
..
cfg Add test-examples for Cfg::simplify_with 2020-10-13 20:18:46 +02:00
auto_trait.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
blanket_impl.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
cfg.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
inline.rs Use from_def_id_and_parts for primitives and keywords 2020-11-26 14:23:41 -05:00
mod.rs Rollup merge of #79525 - jyn514:feature-gate-normalize, r=GuillaumeGomez 2020-12-01 10:50:18 +00:00
simplify.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
types.rs Remove unused attrs field from keywords 2020-11-26 14:23:42 -05:00
utils.rs Remove unused attrs field from keywords 2020-11-26 14:23:42 -05:00