rust/src/librustdoc
bors b321742c6c Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr
Make `Res::SelfTy` a struct variant and update docs

I found pattern matching on a `(Option<DefId>, Option<(DefId, bool)>)` to not be super readable, additionally the doc comments on the types in a tuple variant aren't visible anywhere at use sites as far as I can tell (using rust analyzer + vscode)

The docs incorrectly assumed that the `DefId` in `Option<(DefId, bool)>` would only ever be for an impl item and I also found the code examples to be somewhat unclear about which `DefId` was being talked about.

r? `@lcnr` since you reviewed the last PR changing these docs
2022-02-14 12:26:43 +00:00
..
clean Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr 2022-02-14 12:26:43 +00: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 Auto merge of #93763 - jsha:re-space-empty-impls, r=GuillaumeGomez 2022-02-13 09:41:41 +00:00
json Remove FIXME and fix inconsistency of local blanket impls by using HIR for them 2022-01-21 13:01:58 -05:00
passes Rollup merge of #93721 - jyn514:less-macro-special-casing, r=petrochenkov 2022-02-08 06:47:37 +01: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 rustdoc: clippy::complexity fixes 2022-02-03 23:17:13 +01:00
core.rs Remove Config::stderr 2022-02-13 11:49:52 +01:00
docfs.rs rustdoc: Remove a single-use macro 2021-10-28 18:39:32 -07:00
doctest.rs Remove Config::stderr 2022-02-13 11:49:52 +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 rustdoc: Use conditional for _stripped fold 2021-11-04 09:43:13 -07:00
lib.rs Remove Config::stderr 2022-02-13 11:49:52 +01: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 #93568 - willcrichton:scrape-examples-leading-whitespace, r=CraftSpider 2022-02-08 06:47:33 +01:00
theme.rs fix clippy::single_char_pattern perf findings 2021-12-14 12:40:28 +01:00
visit.rs List all cases explicitly in Doc{Folder,Visitor} 2021-11-01 16:15:46 -07:00
visit_ast.rs Extra cfg_hide a bit to handle inner cfgs 2022-01-20 22:05:26 +01: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.