diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2021-09-24 11:40:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-24 11:40:16 -0700 |
| commit | 0cd9dd3b3c1aaeb2f2ee6567f6aaaca7d7e5f873 (patch) | |
| tree | 2db54f1f7af9d8919657235c8777f05cd8095b18 | |
| parent | 0fa43494bd46fd596a7ca3f8055b2079e8c02fa0 (diff) | |
| parent | 9fa59e19e519a87b8e110948d783052ab89ba4ca (diff) | |
| download | rust-0cd9dd3b3c1aaeb2f2ee6567f6aaaca7d7e5f873.tar.gz rust-0cd9dd3b3c1aaeb2f2ee6567f6aaaca7d7e5f873.zip | |
Rollup merge of #89217 - GuillaumeGomez:generate-link-to-def-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 https://github.com/rust-lang/rust/issues/89095. cc ``@rust-lang/rustdoc`` r? ``@Mark-Simulacrum``
| -rw-r--r-- | src/bootstrap/doc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index af3774b7c75..14e3b315924 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -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()); } |
