Skip to content

Commit c95be3d

Browse files
committed
strip synstructure consts from compiler docs
1 parent 1962ade commit c95be3d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ dependencies = [
835835
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
836836
"quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
837837
"syn 0.15.22 (registry+https://github.com/rust-lang/crates.io-index)",
838-
"synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
838+
"synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)",
839839
]
840840

841841
[[package]]
@@ -2849,7 +2849,7 @@ dependencies = [
28492849
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
28502850
"quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
28512851
"syn 0.15.22 (registry+https://github.com/rust-lang/crates.io-index)",
2852-
"synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
2852+
"synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)",
28532853
]
28542854

28552855
[[package]]
@@ -3385,7 +3385,7 @@ dependencies = [
33853385

33863386
[[package]]
33873387
name = "synstructure"
3388-
version = "0.10.1"
3388+
version = "0.10.2"
33893389
source = "registry+https://github.com/rust-lang/crates.io-index"
33903390
dependencies = [
33913391
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4306,7 +4306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
43064306
"checksum syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad"
43074307
"checksum syn 0.15.22 (registry+https://github.com/rust-lang/crates.io-index)" = "ae8b29eb5210bc5cf63ed6149cbf9adfc82ac0be023d8735c176ee74a2db4da7"
43084308
"checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6"
4309-
"checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015"
4309+
"checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f"
43104310
"checksum tar 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)" = "a303ba60a099fcd2aaa646b14d2724591a96a75283e4b7ed3d1a1658909d9ae2"
43114311
"checksum tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "7e91405c14320e5c79b3d148e1c86f40749a36e490642202a31689cb1a3452b2"
43124312
"checksum tendril 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9de21546595a0873061940d994bbbc5c35f024ae4fd61ec5c5b159115684f508"

src/bootstrap/doc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ impl Step for Rustc {
728728

729729
// Build cargo command.
730730
let mut cargo = builder.cargo(compiler, Mode::Rustc, target, "doc");
731-
cargo.env("RUSTDOCFLAGS", "--document-private-items");
731+
cargo.env("RUSTDOCFLAGS", "--document-private-items --passes strip-hidden");
732732
compile::rustc_cargo(builder, &mut cargo);
733733

734734
// Only include compiler crates, no dependencies of those, such as `libc`.

src/librustc_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2018"
88
proc-macro = true
99

1010
[dependencies]
11-
synstructure = "0.10.1"
11+
synstructure = "0.10.2"
1212
syn = { version = "0.15.22", features = ["full"] }
1313
proc-macro2 = "0.4.24"
1414
quote = "0.6.10"

0 commit comments

Comments
 (0)