about summary refs log tree commit diff
path: root/src/librustdoc/passes/private_items_doc_tests.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27private_items_doc_tests -> doc_test_lintsJoshua Nelson-97/+0
2020-07-27Move `look_for_tests` to `private_items_doc_tests`Joshua Nelson-1/+61
2020-07-27Separate `missing_doc_code_examples` from intra-doc linksJoshua Nelson-1/+1
These two lints have no relation other than both being nightly-only. This allows stabilizing intra-doc links without stabilizing missing_doc_code_examples.
2020-01-04Distinguish between private items and hidden items in rustdocDavid Tolnay-1/+1
I believe rustdoc should not be conflating private items (visibility lower than `pub`) and hidden items (attribute `doc(hidden)`). This matters now that Cargo is passing --document-private-items by default for bin crates. In bin crates that rely on macros, intentionally hidden implementation details of the macros can overwhelm the actual useful internal API that one would want to document. This PR restores the strip-hidden pass when documenting private items, and introduces a separate unstable --document-hidden-items option to skip the strip-hidden pass. The two options are orthogonal to one another.
2019-12-22Format the worldMark Rousskov-3/+1
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-6/+6
2019-02-23merge early and late passes into single structAndy Russell-4/+5
2019-02-23Transition librustdoc to 2018 editionHirokazu Hata-6/+5
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-10Remove lifetime from ResolverJohn Kåre Alsaker-5/+5
2018-11-16lint if a private item has doctestsGuillaume Gomez-0/+49