about summary refs log tree commit diff
path: root/src/bootstrap/doc.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-01-11 04:50:51 +0900
committerGitHub <noreply@github.com>2020-01-11 04:50:51 +0900
commit93f0ba970fb5ecd330d970109d58bf594b8cc96e (patch)
tree8bd454e80eddd26dbd63cbd82966109ae55c0c6f /src/bootstrap/doc.rs
parenta74c790758404f654db98a19065f0cbdbf16e7b8 (diff)
parent826780772e3fdd8fa5f491647f849d0be4cb6356 (diff)
downloadrust-93f0ba970fb5ecd330d970109d58bf594b8cc96e.tar.gz
rust-93f0ba970fb5ecd330d970109d58bf594b8cc96e.zip
Rollup merge of #68039 - euclio:remove-strip-hidden, r=dtolnay
remove explicit strip-hidden pass from compiler doc generation

`strip-hidden` is now implied by `--document-private-items` with #67875, so there's no need to specify it anymore.
Diffstat (limited to 'src/bootstrap/doc.rs')
-rw-r--r--src/bootstrap/doc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index 8cd7fc2c172..e98ac8d6f47 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -531,7 +531,7 @@ impl Step for Rustc {
 
         // Build cargo command.
         let mut cargo = builder.cargo(compiler, Mode::Rustc, target, "doc");
-        cargo.env("RUSTDOCFLAGS", "--document-private-items --passes strip-hidden");
+        cargo.env("RUSTDOCFLAGS", "--document-private-items");
         compile::rustc_cargo(builder, &mut cargo, target);
 
         // Only include compiler crates, no dependencies of those, such as `libc`.