rust/src/librustdoc
bors 65ecc481fa Auto merge of #77467 - jyn514:query-docs, r=oli-obk
Normalize `<X as Y>::T` for rustdoc

- Only run for `QPath::Resolved` with `Some` self parameter (`<X as Y>::T`)
- Fall back to the previous behavior if the path can't be resolved

The first commit is a pure refactor and should probably be reviewed by `@GuillaumeGomez.` I recommend reviewing the second commit on its own.

Fixes https://github.com/rust-lang/rust/issues/77459.

r? `@eddyb`
cc `@danielhenrymantilla` , `@lcnr`
2020-11-26 16:31:12 +00:00
..
clean Remove redundant lift_to_tcx 2020-11-26 07:59:51 -05:00
doctest Update doctest tests 2020-11-17 10:33:14 +01:00
formats Make fold_item_recur non-nullable 2020-11-22 12:59:01 -05:00
html Add summary_opts() for Markdown summary rendering options 2020-11-24 19:54:41 -08:00
json Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
passes Rollup merge of #79321 - camelid:intra-doc-bang, r=Manishearth 2020-11-24 13:17:39 +01: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 Get rid of doctree::ExternCrate 2020-11-24 09:54:53 -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 Get rid of doctree::ExternCrate 2020-11-24 09:54:53 -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.