rust/src/librustdoc
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
..
clean Rollup merge of #79525 - jyn514:feature-gate-normalize, r=GuillaumeGomez 2020-12-01 10:50:18 +00:00
doctest Update doctest tests 2020-11-17 10:33:14 +01:00
formats Use from_def_id_and_parts for primitives and keywords 2020-11-26 14:23:41 -05:00
html Rollup merge of #79340 - GuillaumeGomez:rename-stability, r=jyn514 2020-11-29 03:14:13 +01:00
json Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
passes Remove TypeKind hack in favor of with_crate_prefix 2020-11-29 13:40:49 -05: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 Track ParamEnvs properly 2020-11-24 14:10:18 -05:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Fix persisted doctests on Windows / when using workspaces 2020-11-25 15:40:13 +01:00
doctree.rs Remove doctree::Macro 2020-11-27 21:58:54 -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 fold_item_recur non-nullable 2020-11-22 12:59:01 -05:00
lib.rs fixes a word typo in librustdoc 2020-11-25 19:09:11 +00: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 Remove doctree::Macro 2020-11-27 21:58:54 -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.