rust/src/librustdoc
bors 1661e4c7e0 Auto merge of #93805 - petrochenkov:doclinkself, r=camelid,GuillaumeGomez
rustdoc: Stop textually replacing `Self` in doc links before resolving them

Resolve it directly to a type / def-id instead.

Also never pass `Self` to `Resolver`, it is useless because it's guaranteed that no resolution will be found.

This is a pre-requisite for https://github.com/rust-lang/rust/issues/83761.
2022-03-06 02:14:49 +00:00
..
clean Use if let instead of manual match 2022-03-04 10:35:56 +01:00
doctest Rename TestOptions to GlobalTestOptions 2021-12-12 17:46:19 -08:00
formats fix #90187: Replace all def_id_no_primitives with def_id 2022-01-17 13:41:59 +01:00
html Rollup merge of #94642 - GuillaumeGomez:source-code-scroll, r=Urgau 2022-03-05 12:53:17 -05:00
json make generic projection types print correctly 2022-03-03 13:01:35 -08:00
passes Auto merge of #93805 - petrochenkov:doclinkself, r=camelid,GuillaumeGomez 2022-03-06 02:14:49 +00:00
theme Clean up rustdoc static files 2021-07-07 17:52:18 +02:00
askama.toml Move back templates into html folder 2022-01-19 11:13:24 +01:00
Cargo.toml cargo_metadata 0.12 -> 0.14, to dedupe and remove some semver, semver-parser versions 2022-02-07 00:14:01 +03:00
config.rs Wire up --check-cfg to rustdoc 2022-02-25 02:18:49 +01:00
core.rs Wire up --check-cfg to rustdoc 2022-02-25 02:18:49 +01:00
docfs.rs rustdoc: Remove a single-use macro 2021-10-28 18:39:32 -07:00
doctest.rs Use ? operator in one instance instead of manual match 2022-03-02 22:10:35 +01:00
error.rs Simplify rendering of stylesheet links into HTML 2021-11-24 19:41:47 -08:00
externalfiles.rs rustdoc: Fix some unescaped HTML tags in docs 2021-11-19 15:54:05 -05:00
fold.rs make GATs print properly in traits 2022-02-27 21:36:29 -08:00
lib.rs Auto merge of #94009 - compiler-errors:gat-rustdoc, r=GuillaumeGomez 2022-03-04 00:27:23 +00:00
lint.rs Warn when rustdoc:: group is omitted from lint names 2021-07-03 15:32:09 -04:00
markdown.rs Rename TestOptions to GlobalTestOptions 2021-12-12 17:46:19 -08: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 Rollup merge of #93497 - willcrichton:rustdoc-scrape-test, r=GuillaumeGomez 2022-02-18 23:23:05 +01:00
theme.rs fix clippy::single_char_pattern perf findings 2021-12-14 12:40:28 +01:00
visit.rs make GATs print properly in traits 2022-02-27 21:36:29 -08:00
visit_ast.rs resolve: Fix incorrect results of opt_def_kind query for some built-in macros 2022-02-24 22:54:36 +03:00
visit_lib.rs rustc_metadata: Rename item_children(_untracked) to module_children(_untracked) 2022-01-09 09:22:06 +08:00

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