rust/src/librustdoc
bors 59cc53e6e7 Auto merge of #63703 - tommilligan:warn-empty-doctest, r=ollie27
rustdoc: warn on empty doc test

Closes #60319.

A doc test that only contains whitespace should result in a warning.

This PR adds detection of empty doc tests to `check-code-block-syntax`, as having an invalid doc test is mutually exclusive with an empty doc test.
2019-08-31 20:10:20 +00:00
..
clean Auto merge of #63990 - Centril:rollup-q1nt0b0, r=Centril 2019-08-29 05:05:17 +00:00
html Rollup merge of #63847 - GuillaumeGomez:system-theme-detection, r=kinnison 2019-08-30 23:08:03 +02:00
passes librustdoc: warn on empty doc test 2019-08-19 16:02:57 +01:00
test Separate librustcdoc module 2019-06-16 14:17:01 +03:00
theme librustdoc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
Cargo.toml Remove ReentrantMutex 2019-08-11 10:36:46 -04:00
config.rs Run doctests via out-of-process rustc 2019-08-29 23:15:31 +02:00
core.rs Auto merge of #63402 - estebank:strip-margin, r=oli-obk 2019-08-30 06:49:15 +00:00
docfs.rs Better handling of the sender channel part in rustdoc file writing 2019-06-21 12:00:49 +02:00
doctree.rs rustdoc: Replace HirVec with slices in doctree 2019-08-11 10:36:46 -04:00
externalfiles.rs Reduce nesting in externalfiles implementation 2019-08-11 10:47:58 -04:00
fold.rs Remove ReentrantMutex 2019-08-11 10:36:46 -04:00
lib.rs Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=petrochenkov 2019-08-29 01:22:11 +00:00
markdown.rs Run doctests via out-of-process rustc 2019-08-29 23:15:31 +02:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
test.rs Auto merge of #63827 - andjo403:out-of-process-rustc-in-rustdoc, r=Mark-Simulacrum 2019-08-30 10:25:26 +00:00
theme.rs librustdoc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
visit_ast.rs Mutate DocContext from LibEmbargoVisitor and RustdocVisitor 2019-08-26 18:51:34 -04:00
visit_lib.rs Mutate DocContext from LibEmbargoVisitor and RustdocVisitor 2019-08-26 18:51:34 -04:00

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