rust/src/librustdoc
Guillaume Gomez b9dce53d4a
Rollup merge of #112463 - fmease:rustdoc-elide-x-crate-def-gen-args, r=GuillaumeGomez
rustdoc: elide cross-crate default generic arguments

Elide cross-crate generic arguments if they coincide with their default.
TL;DR: Most notably, no more `Box<…, Global>` in `std`'s docs, just `Box<…>` from now on.
Fixes #80379.

Also helps with #44306. Follow-up to #103885, #107637.

r? ``@ghost``
2023-10-30 17:33:14 +01:00
..
clean Rollup merge of #112463 - fmease:rustdoc-elide-x-crate-def-gen-args, r=GuillaumeGomez 2023-10-30 17:33:14 +01:00
doctest pass unused_extern_crates in librustdoc::doctest::make_test 2023-04-25 17:20:58 +03:00
formats rustdoc: use JS to inline target type impl docs into alias 2023-10-22 15:56:14 -07:00
html Rollup merge of #117256 - dtolnay:currentversion, r=compiler-errors 2023-10-28 01:07:38 -07:00
json rustdoc: wrap Type with Box instead of Generics 2023-10-22 22:50:25 -07:00
passes rustdoc: use JS to inline target type impl docs into alias 2023-10-22 15:56:14 -07:00
theme rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
askama.toml Remove unneeded minus sign in jinja tags 2023-03-06 11:38:15 +01:00
Cargo.toml rustdoc: use JS to inline target type impl docs into alias 2023-10-22 15:56:14 -07:00
config.rs rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
core.rs Clean up config mess. 2023-10-28 09:03:51 +11:00
docfs.rs Use more named format args 2023-08-16 16:35:23 +02:00
doctest.rs Clean up config mess. 2023-10-28 09:03:51 +11:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Don't emit an error if the custom_code_classes_in_docs feature is disabled when its syntax is used. 2023-09-17 15:11:44 +02:00
fold.rs rustdoc: bind typedef inner type items to the folding system 2023-08-26 00:15:02 +02:00
lib.rs Stop telling people to submit bugs for internal feature ICEs 2023-10-25 23:23:04 +02:00
lint.rs Add warn level lint redundant_explicit_links 2023-08-18 15:19:08 +08:00
markdown.rs Update src/librustdoc/markdown.rs 2023-09-17 18:43:54 +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
scrape_examples.rs Use relative positions inside a SourceFile. 2023-09-03 12:56:10 +00:00
theme.rs rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
visit.rs rustdoc: Rename clean items from typedef to type alias 2023-08-21 13:56:22 -07:00
visit_ast.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
visit_lib.rs Correctly handle --document-hidden-items 2023-07-14 17:25:09 +02:00

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