Module rustdoc::passes::doc_test_lints[−][src]

Expand description

This pass is overloaded and runs two different lints.

  • MISSING_DOC_CODE_EXAMPLES: this lint is UNSTABLE and looks for public items missing doctests
  • PRIVATE_DOC_TESTS: this lint is STABLE and looks for private items with doctests.

Structs

PrivateItemDocTestLinter
Tests

Constants

CHECK_PRIVATE_ITEMS_DOC_TESTS

Functions

check_private_items_doc_tests
look_for_tests
should_have_doc_example