Skip to content

Commit

Permalink
Rollup merge of rust-lang#89217 - GuillaumeGomez:generate-link-to-def…
Browse files Browse the repository at this point in the history
…-rust-tools, r=jyn514

Enable "generate-link-to-definition" option on rust tools docs as well

Just realized that we enable the option for the compiler crates, but we don't have it for rustdoc and the other tools documentation...

Part of rust-lang#89095.

cc `@rust-lang/rustdoc`
r? `@Mark-Simulacrum`
  • Loading branch information
Manishearth committed Sep 24, 2021
2 parents 23c28e3 + 9fa59e1 commit 913b9df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ macro_rules! tool_doc {
cargo.rustdocflag("--document-private-items");
cargo.rustdocflag("--enable-index-page");
cargo.rustdocflag("--show-type-layout");
cargo.rustdocflag("--generate-link-to-definition");
cargo.rustdocflag("-Zunstable-options");
builder.run(&mut cargo.into());
}
Expand Down

0 comments on commit 913b9df

Please sign in to comment.