rust/src/librustdoc/html
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
..
highlight rustdoc: use better highlighting for *const, *mut, and &mut 2021-10-25 11:13:43 -07:00
length_limit Don't panic if close_tag() is called without tags to close 2021-08-25 20:09:17 -07:00
markdown Update rustdoc tests for headings indent 2022-02-09 14:55:26 +01:00
render Rollup merge of #90905 - GuillaumeGomez:empty-impl-blocks, r=jsha 2022-06-06 08:36:59 +02:00
static Rollup merge of #90905 - GuillaumeGomez:empty-impl-blocks, r=jsha 2022-06-06 08:36:59 +02:00
templates Remove theme picker button 2022-05-14 17:21:52 +02:00
toc Format the world 2019-12-22 17:42:47 -05:00
url_parts_builder Document and test UrlPartsBuilder::push_fmt 2022-01-14 12:05:35 -08:00
escape.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
format.rs rustdoc: clean up primitive.slice.html links 2022-06-02 15:02:19 -07:00
highlight.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
layout.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
length_limit.rs Don't panic if close_tag() is called without tags to close 2021-08-25 20:09:17 -07:00
markdown.rs fix simple clippy lints 2022-05-24 12:24:41 -04:00
mod.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
sources.rs Pass Context as a &mut to allow to remove RefCell fields 2022-05-27 22:16:24 +02:00
static_files.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
tests.rs rustdoc: avoid many Symbol to String conversions. 2022-01-14 11:57:18 -08:00
toc.rs fix clippy perf lints 2022-05-24 13:35:54 -04:00
url_parts_builder.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00