about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-05-09 13:15:33 -0700
committerCamelid <camelidcamel@gmail.com>2021-05-11 09:55:32 -0700
commit9b89d01bbbc674f19a69838d2eb2e17ba4a84899 (patch)
tree4c91efdb2bcd8e5ca0731629532a44549939f0fe
parent8b9298bbaaa1e1803f1ca4040c3200ed3373a210 (diff)
downloadrust-9b89d01bbbc674f19a69838d2eb2e17ba4a84899.tar.gz
rust-9b89d01bbbc674f19a69838d2eb2e17ba4a84899.zip
Enable `--show-type-layout` for the rustdoc API docs
-rw-r--r--src/bootstrap/doc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index e42d4fcd864..326a6fdaa80 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -649,6 +649,7 @@ impl Step for Rustdoc {
 
         cargo.rustdocflag("--document-private-items");
         cargo.rustdocflag("--enable-index-page");
+        cargo.rustdocflag("--show-type-layout");
         cargo.rustdocflag("-Zunstable-options");
         builder.run(&mut cargo.into());
     }