diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index c4b3e4cf95d..30d690c9705 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -626,6 +626,7 @@ fn run(self, builder: &Builder<'_>) { // Only include compiler crates, no dependencies of those, such as `libc`. cargo.arg("--no-deps"); cargo.arg("-p").arg("rustdoc"); + cargo.arg("-p").arg("rustdoc-json-types"); cargo.rustdocflag("--document-private-items"); cargo.rustdocflag("--enable-index-page");