rust/src/librustdoc
Nicholas Nethercote a95fb8b150 Overhaul Const.
Specifically, rename the `Const` struct as `ConstS` and re-introduce `Const` as
this:
```
pub struct Const<'tcx>(&'tcx Interned<ConstS>);
```
This now matches `Ty` and `Predicate` more closely, including using
pointer-based `eq` and `hash`.

Notable changes:
- `mk_const` now takes a `ConstS`.
- `Const` was copy, despite being 48 bytes. Now `ConstS` is not, so need a
  we need separate arena for it, because we can't use the `Dropless` one any
  more.
- Many `&'tcx Const<'tcx>`/`&Const<'tcx>` to `Const<'tcx>` changes
- Many `ct.ty` to `ct.ty()` and `ct.val` to `ct.val()` changes.
- Lots of tedious sigil fiddling.
2022-02-15 16:19:59 +11:00
..
clean Overhaul Const. 2022-02-15 16:19:59 +11: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.