rust/src/librustdoc
bors 5b45024487 Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk
Resolve documentation links in rustc and store the results in metadata

This PR implements MCP https://github.com/rust-lang/compiler-team/issues/584.

Doc links are now resolved in rustc and stored into metadata, so rustdoc simply retrieves them through a query (local or extern),

Code that is no longer used is removed, and some code that no longer needs to be public is privatized.
The removed code includes resolver cloning, so this PR fixes https://github.com/rust-lang/rust/issues/83761.
2023-02-11 12:10:16 +00:00
..
clean Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
doctest Rename TestOptions to GlobalTestOptions 2021-12-12 17:46:19 -08:00
formats rustdoc: Use DefId(Map,Set) instead of FxHash(Map,Set) 2023-01-22 02:12:05 +04:00
html Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
json Fix small debug typo 2023-02-08 17:31:54 +01:00
passes Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
theme Correctly handle parens 2022-09-15 13:53:20 +02:00
askama.toml Move back templates into html folder 2022-01-19 11:13:24 +01:00
Cargo.toml Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
config.rs Fix typo in comment 2023-01-21 17:34:30 -05:00
core.rs Skip doc link resolution for some crate types and non-exported items 2023-02-10 09:35:14 +04:00
docfs.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
doctest.rs rustdoc: Stop using HirIds 2023-01-26 16:45:49 +04:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
fold.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
lib.rs Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
lint.rs Change default lint level of INVALID_HTML_TAGS to warning 2022-10-10 18:28:29 +02:00
markdown.rs Turn MarkdownWithToc into a struct with named fields 2023-02-06 16:31:17 +01:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
scrape_examples.rs Revert crate_types change, add new bin_crate field 2022-12-07 09:08:43 -08:00
theme.rs Correctly handle parens 2022-09-15 13:53:20 +02:00
visit.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
visit_ast.rs Special-case handling of impl blocks 2023-01-27 20:33:42 +01:00
visit_lib.rs rustdoc: Collect rustdoc-reachable items during early doc link resolution 2023-01-25 23:14:09 +04:00

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