rust/src/librustdoc
Matthias Krüger d6468916c0
Rollup merge of #110450 - GuillaumeGomez:fix-nested-items-on-private-doc, r=notriddle,jyn514
rustdoc: Fix invalid handling of nested items with `--document-private-items`

Fixes #110422.

The problem is that only impl block and re-exported `macro_rules!` items are "visible" as nested items. This PR adds the missing checks to handle this correctly.

cc `@compiler-errors`
r? `@notriddle`
2023-04-18 06:44:47 +02:00
..
clean Rollup merge of #110421 - jsoref:spelling-librustdoc, r=notriddle 2023-04-17 08:09:41 +02:00
doctest Rename TestOptions to GlobalTestOptions 2021-12-12 17:46:19 -08:00
formats fix clippy::toplevel_ref_arg and ::manual_map 2023-04-16 13:28:13 +02:00
html Rollup merge of #110421 - jsoref:spelling-librustdoc, r=notriddle 2023-04-17 08:09:41 +02:00
json Spelling librustdoc 2023-04-16 21:44:12 -04:00
passes Rollup merge of #110348 - GuillaumeGomez:disambiguators-suffixes-rustdoc-book, r=Manishearth 2023-04-18 06:44:45 +02:00
theme Spelling librustdoc 2023-04-16 21:44:12 -04:00
askama.toml Remove unneeded minus sign in jinja tags 2023-03-06 11:38:15 +01:00
Cargo.toml rustdoc: DocFS: Replace rayon with threadpool and enable it for all targets 2023-03-14 20:28:00 +01:00
config.rs Spelling librustdoc 2023-04-16 21:44:12 -04:00
core.rs rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
docfs.rs Update docsfs module documentation 2023-03-15 16:47:14 +01:00
doctest.rs Make rustdoc and rustc's help match exactly 2023-04-12 05:27:26 -05: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 clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
lib.rs Rollup merge of #110244 - kadiwa4:unnecessary_imports, r=JohnTitor 2023-04-14 21:11:13 +02:00
lint.rs Only include stable lints in rustdoc::all group 2023-02-19 22:05:58 -08:00
markdown.rs Turn MarkdownWithToc into a struct with named fields 2023-02-06 16:31:17 +01: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 Spelling librustdoc 2023-04-16 21:44:12 -04:00
theme.rs Correctly handle parens 2022-09-15 13:53:20 +02:00
visit.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
visit_ast.rs Rollup merge of #110450 - GuillaumeGomez:fix-nested-items-on-private-doc, r=notriddle,jyn514 2023-04-18 06:44:47 +02:00
visit_lib.rs rustdoc: Eliminate remaining uses of resolver 2023-02-13 00:10:15 +04:00

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