about summary refs log tree commit diff
path: root/src
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
parent1962adea6ad9b992516ae56ad7f8c5bc33b951cb (diff)
downloadrust-c95be3d033a72880749813ae0bfc7067437f9c19.tar.gz
rust-c95be3d033a72880749813ae0bfc7067437f9c19.zip
strip synstructure consts from compiler docs
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/doc.rs2
-rw-r--r--src/librustc_macros/Cargo.toml2
2 files changed, 2 insertions, 2 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`.
diff --git a/src/librustc_macros/Cargo.toml b/src/librustc_macros/Cargo.toml
index 6e32a53c364..f989ebc6dfd 100644
--- a/src/librustc_macros/Cargo.toml
+++ b/src/librustc_macros/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2018"
 proc-macro = true
 
 [dependencies]
-synstructure = "0.10.1"
+synstructure = "0.10.2"
 syn = { version = "0.15.22", features = ["full"] }
 proc-macro2 = "0.4.24"
 quote = "0.6.10"