Skip to content

Commit

Permalink
Add rustdoc documentation about unstable feature "jump to def"
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 6, 2022
1 parent fd6b01f commit 3bfa2eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/doc/rustdoc/src/unstable-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -567,3 +567,10 @@ $ rustdoc src/lib.rs -Z unstable-options \

The example above check every well known names (`target_os`, `doc`, `test`, ... via `names()`)
and check the values of `feature`: `foo` and `bar`.

### `--generate-link-to-definition`: Generate links on types in source code

* Tracking issue: [#89095](https://github.com/rust-lang/rust/issues/89095)

This flag enables the generation of links in the source code pages which allow the reader
to jump to a type definition.

0 comments on commit 3bfa2eb

Please sign in to comment.