Skip to content

Commit 9e9a987

Browse files
committed
Documenting private items in compiler docs.
1 parent 5758c2d commit 9e9a987

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/doc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ impl Step for Rustc {
696696
t!(symlink_dir_force(&out, &out_dir));
697697

698698
let mut cargo = builder.cargo(compiler, Mode::Librustc, target, "doc");
699+
cargo.env("RUSTDOCFLAGS", "--document-private-items");
699700
compile::rustc_cargo(build, &mut cargo);
700701

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

0 commit comments

Comments
 (0)