Skip to content

Commit 3bfa2eb

Browse files
Add rustdoc documentation about unstable feature "jump to def"
1 parent fd6b01f commit 3bfa2eb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: src/doc/rustdoc/src/unstable-features.md

+7
Original file line numberDiff line numberDiff line change
@@ -567,3 +567,10 @@ $ rustdoc src/lib.rs -Z unstable-options \
567567

568568
The example above check every well known names (`target_os`, `doc`, `test`, ... via `names()`)
569569
and check the values of `feature`: `foo` and `bar`.
570+
571+
### `--generate-link-to-definition`: Generate links on types in source code
572+
573+
* Tracking issue: [#89095](https://github.com/rust-lang/rust/issues/89095)
574+
575+
This flag enables the generation of links in the source code pages which allow the reader
576+
to jump to a type definition.

0 commit comments

Comments
 (0)