rust/src/librustdoc
bors 096277e989 Auto merge of #132580 - compiler-errors:globs, r=Noratrieb
Remove unnecessary pub enum glob-imports from `rustc_middle::ty`

We used to have an idiom in the compiler where we'd prefix or suffix all the variants of an enum, for example `BoundRegionKind`, with something like `Br`, and then *glob-import* that enum variant directly.

`@noratrieb` brought this up, and I think that it's easier to read when we just use the normal style `EnumName::Variant`.

This PR is a bit large, but it's just naming.

The only somewhat opinionated change that this PR does is rename `BorrowKind::Imm` to `BorrowKind::Immutable` and same for the other variants. I think these enums are used sparingly enough that the extra length is fine.

r? `@noratrieb` or reassign
2024-11-05 08:30:56 +00:00
..
clean Auto merge of #132580 - compiler-errors:globs, r=Noratrieb 2024-11-05 08:30:56 +00:00
doctest Rollup merge of #132210 - notriddle:notriddle/doctest-span-hack, r=GuillaumeGomez 2024-10-30 14:01:37 -07:00
formats Handle librustdoc cases of rustc::potential_query_instability lint 2024-10-06 10:39:03 +03:00
html rustdoc: Directly use rustc_abi instead of reexports 2024-11-01 09:24:09 -07:00
json rustdoc: Directly use rustc_abi instead of reexports 2024-11-01 09:24:09 -07:00
passes Rename DocContext::is_json into DocContext::is_json_output 2024-11-04 17:29:57 +01:00
theme rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
build.rs rustdoc: hash assets at rustdoc build time 2024-10-19 15:36:19 -07:00
Cargo.toml rustdoc: hash assets at rustdoc build time 2024-10-19 15:36:19 -07:00
config.rs Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
core.rs Rename DocContext::is_json into DocContext::is_json_output 2024-11-04 17:29:57 +01:00
docfs.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
doctest.rs Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
error.rs Fix clippy lints 2024-08-29 12:14:41 +02:00
externalfiles.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
fold.rs de-rc external traits 2024-09-25 23:45:57 +02:00
lib.rs Re-do recursive const stability checks 2024-10-25 20:31:40 +02:00
lint.rs Remove module passes filtering 2024-10-19 16:20:51 +02:00
markdown.rs rustdoc: Document markdown module. 2024-10-19 13:37:40 +00:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
rinja.toml Replace askama with rinja 2024-07-23 11:19:55 +02:00
scrape_examples.rs Handle librustdoc cases of rustc::potential_query_instability lint 2024-10-06 10:39:03 +03:00
theme.rs Handle librustdoc cases of rustc::potential_query_instability lint 2024-10-06 10:39:03 +03:00
visit.rs rustdoc: add doc comment to DocVisitor 2024-09-28 19:21:37 -04:00
visit_ast.rs Rename DocContext::is_json into DocContext::is_json_output 2024-11-04 17:29:57 +01:00
visit_lib.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00

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