From 826780772e3fdd8fa5f491647f849d0be4cb6356 Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Wed, 8 Jan 2020 21:43:54 -0500 Subject: [PATCH] remove strip-hidden pass from compiler doc generation --- src/bootstrap/doc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index 8cd7fc2c17257..e98ac8d6f477c 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`.