rust/src/librustdoc
Matthias Krüger 77f0209fde
Rollup merge of #90905 - GuillaumeGomez:empty-impl-blocks, r=jsha
Add empty impl blocks if they have documentation

Fixes https://github.com/rust-lang/rust/issues/90866.

The update for the test script is needed to count the number of impl blocks we have with only the struct. To be noted that with https://github.com/rust-lang/rust/pull/89676 merged, it wouldn't be needed (I don't know what is the status of it btw. cc ```@Mark-Simulacrum).```

It looks like this:

![Screenshot from 2021-11-14 16-51-28](https://user-images.githubusercontent.com/3050060/141689100-e57123c0-bf50-4c42-adf5-d991e169a0e4.png)

cc ```@jyn514```
r? ```@camelid```
2022-06-06 08:36:59 +02:00
..
clean Manipulate lifetimes by LocalDefId for region resolution. 2022-06-03 12:03:20 +02:00
doctest Rename TestOptions to GlobalTestOptions 2021-12-12 17:46:19 -08:00
formats Don't generate "Impls on Foreign Types" for std 2022-06-04 11:10:51 -07:00
html Rollup merge of #90905 - GuillaumeGomez:empty-impl-blocks, r=jsha 2022-06-06 08:36:59 +02:00
json Add Symbol into rustdoc JSON ID to prevent conflicts between reexports 2022-06-02 11:14:32 +02:00
passes Rollup merge of #90905 - GuillaumeGomez:empty-impl-blocks, r=jsha 2022-06-06 08:36:59 +02: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 Update minifier-rs version to 0.1.0 2022-05-24 16:55:29 +02:00
config.rs fix simple clippy lints 2022-05-24 12:24:41 -04:00
core.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
docfs.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
doctest.rs Formatting 2022-05-26 23:27:41 +01:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
fold.rs Remove fields_stripped fields (and equivalents) 2022-05-21 13:21:12 +02:00
lib.rs update jemalloc-sys to jemalloc v5.3 2022-05-25 08:25:15 +02:00
lint.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
markdown.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04: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 Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
theme.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
visit.rs fix simple clippy lints 2022-05-24 12:24:41 -04:00
visit_ast.rs Hide anonymous reexports in generated documentation 2022-06-01 12:24:39 +02:00
visit_lib.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00

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