diff options
| author | bors <bors@rust-lang.org> | 2016-03-10 07:05:05 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-03-10 07:05:05 -0800 |
| commit | 4b87655e69a6d07f03b104caaec80a042ad40bf1 (patch) | |
| tree | ea99b5acc1c00c02a4ce58ef88c16b08543befba /src | |
| parent | 6d6ae1ffe665610ae235dd95e849248a6741ff0f (diff) | |
| parent | d9613237fd1736fa8e9ce95686d85463a38dc976 (diff) | |
| download | rust-4b87655e69a6d07f03b104caaec80a042ad40bf1.tar.gz rust-4b87655e69a6d07f03b104caaec80a042ad40bf1.zip | |
Auto merge of #32101 - SimonSapin:patch-11, r=alexcrichton
Add info in `rustdoc --passes list` CC @mitaa, https://github.com/rust-lang/rust/pull/32055/files#r55205006
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 21df784b098..d9d6bc42e29 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -108,7 +108,8 @@ const PASSES: &'static [Pass] = &[ ("collapse-docs", passes::collapse_docs, "concatenates all document attributes into one document attribute"), ("strip-private", passes::strip_private, - "strips all private items from a crate which cannot be seen externally"), + "strips all private items from a crate which cannot be seen externally, \ + implies strip-priv-imports"), ("strip-priv-imports", passes::strip_priv_imports, "strips all private import statements (`use`, `extern crate`) from a crate"), ]; |
