about summary refs log tree commit diff
path: root/src/bootstrap/doc.rs
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2019-05-16 14:32:28 -0400
committerAndy Russell <arussell123@gmail.com>2019-05-16 14:32:28 -0400
commitc95be3d033a72880749813ae0bfc7067437f9c19 (patch)
tree954ad1b948fe6c04cd1e6af694fa36bd124aacd0 /src/bootstrap/doc.rs
parent1962adea6ad9b992516ae56ad7f8c5bc33b951cb (diff)
downloadrust-c95be3d033a72880749813ae0bfc7067437f9c19.tar.gz
rust-c95be3d033a72880749813ae0bfc7067437f9c19.zip
strip synstructure consts from compiler docs
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 9c3a17bff6b..5605ec34083 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -728,7 +728,7 @@ impl Step for Rustc {
 
         // Build cargo command.
         let mut cargo = builder.cargo(compiler, Mode::Rustc, target, "doc");
-        cargo.env("RUSTDOCFLAGS", "--document-private-items");
+        cargo.env("RUSTDOCFLAGS", "--document-private-items --passes strip-hidden");
         compile::rustc_cargo(builder, &mut cargo);
 
         // Only include compiler crates, no dependencies of those, such as `libc`.