about summary refs log tree commit diff
path: root/src/libsyntax/tokenstream.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-05 18:45:01 +0000
committerbors <bors@rust-lang.org>2018-08-05 18:45:01 +0000
commit73c78734bae8f2947a4bfdeabebeeb84ccf0b0e1 (patch)
treeba666b97c4fb190ee2bff2ff7662913f748c99ab /src/libsyntax/tokenstream.rs
parent93a4cab45ad119003c9749861eb7ac749eb334e2 (diff)
parente332985c03e583cb0e28f576af3102cc69ddec5b (diff)
downloadrust-73c78734bae8f2947a4bfdeabebeeb84ccf0b0e1.tar.gz
rust-73c78734bae8f2947a4bfdeabebeeb84ccf0b0e1.zip
Auto merge of #52800 - QuietMisdreavus:do-not-pass-go, r=GuillaumeGomez
rustdoc: refactor how passes are structured, and turn intra-doc-link collection into a pass

This builds on https://github.com/rust-lang/rust/pull/52751 and should not be merged until that finally finishes the bors queue

Part 2 of my passes refactor. This introduces the concept of an "early pass", which is run right before exiting the compiler context. This is important for passes that may want to ask the compiler about things. For example, i took out the intra-doc-link collection and turned it into a early pass. I also made the `strip-hidden`, `strip-private` and `strip-priv-imports` passes occur as early passes, so that intra-doc-link collection wouldn't run on docs that weren't getting printed.

Fixes https://github.com/rust-lang/rust/issues/51684, technically https://github.com/rust-lang/rust/issues/51468 too but that version of `h2` hits a legit intra-link error after that `>_>`

r? @rust-lang/rustdoc
Diffstat (limited to 'src/libsyntax/tokenstream.rs')
0 files changed, 0 insertions, 0 deletions