about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-24 00:26:44 -0600
committerGitHub <noreply@github.com>2016-11-24 00:26:44 -0600
commit29abe6f9e86829d55ba180a5957f203a64a96b65 (patch)
tree5810ce245eda593ec96190c8f87567ed6dd06d23 /src/rustllvm/RustWrapper.cpp
parent696fab844aef55eb4bcbeb470c01ce7d301c51ed (diff)
parent4be778633073cb3b4a036b8ecc469b2892f12367 (diff)
downloadrust-29abe6f9e86829d55ba180a5957f203a64a96b65.tar.gz
rust-29abe6f9e86829d55ba180a5957f203a64a96b65.zip
Auto merge of #37890 - eddyb:rustdoc-1, r=nrc
rustdoc: separate test collection from the main "clean"-ing pipeline.

While reusing the documentation "clean"-ing infrastructure for collecting code examples to test may have seemed appealing at some point, doing the same through a HIR visitor is barely any harder.
At the same time, supporting both "regular documentation" and "test collection" modes in `rustdoc::clean` has its cost, requiring any use of a `TyCtxt` to be speculative, and provide some sort of fallback.

This simplification is the first step towards bringing rustdoc closer to the compiler, and perhaps even unifying the "local crate" (based on the HIR AST) and "inlinined across crates" (based on crate metadata and typesystem information) implementations of rustdoc.

Sadly, not all possible changes to rustdoc will be uncontroversial, so I'm starting small with this patch.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions