rust/src/librustdoc/html
bors 3a24abd22f Auto merge of #86841 - GuillaumeGomez:reexported-macro-2-render, r=Stupremee
Fix rendering of reexported macros 2.0 and fix visibility of reexported items

So, this PR grew a bit out of focus, it does the following things:

* Fixes #86276.
* Fixes visibility display for reexported items: it now takes the visibility of the "use" statement rather than the visibility of the reexported item itself).
* Fixes the display of reexported items if "--document-private-items" option is used. Before, they were simply skipped.
* Fixes inconsistency on typedef items: they didn't display their visibility contrary to other items.

I added tests to check everything listed above.

cc `@camelid` `@ollie27` (in case one of you want to review?)

r? `@jyn514`
2021-07-12 11:52:55 +00:00
..
highlight Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00
markdown Update test cases for intra-doc links in summaries 2021-06-18 17:47:05 -07:00
render Auto merge of #86841 - GuillaumeGomez:reexported-macro-2-render, r=Stupremee 2021-07-12 11:52:55 +00:00
static cleanup(rustdoc): remove unused function getObjectNameById 2021-07-10 13:16:16 -07:00
templates Use Tera templates for rustdoc. 2021-06-20 23:07:28 -07:00
toc Format the world 2019-12-22 17:42:47 -05:00
escape.rs rustdoc tweaking 2021-01-30 01:02:18 +00:00
format.rs rustdoc: Rename expect_real to expect_def_id, remove Item::is_fake 2021-07-05 19:49:48 +02:00
highlight.rs Rename 'bad prefix' to 'unknown prefix'. 2021-06-26 23:11:14 +08:00
layout.rs Use Tera templates for rustdoc. 2021-06-20 23:07:28 -07:00
markdown.rs Clean up rustdoc IDs 2021-07-04 00:34:16 +02:00
mod.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
sources.rs Use Tera templates for rustdoc. 2021-06-20 23:07:28 -07:00
static_files.rs Clean up rustdoc static files 2021-07-07 17:52:18 +02:00
tests.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
toc.rs clippy fixes for librustdoc 2021-01-01 21:19:10 +01:00