about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorTom Jakubowski <tom@crystae.net>2019-09-23 18:37:20 -0700
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-01-30 13:39:01 +0100
commit05c6f329e785c9b53a50217de0f21df906ae7ba0 (patch)
tree88b76de47b013a520fec929bcc399576f0446629 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentb60f08bd6d3fbe784eb47a57e0c41954454af3dd (diff)
downloadrust-05c6f329e785c9b53a50217de0f21df906ae7ba0.tar.gz
rust-05c6f329e785c9b53a50217de0f21df906ae7ba0.zip
rustdoc: emit JS paths for struct-like variants
On the backend, rustdoc now emits `paths` entries to a crate's search
index for struct-like enum variants, and index items of type structfield
which belong to such variants point to their variant parents in the
`paths` table, rather than their enum grandparents.  The path entry for
a variant is the fully qualified module path plus the enum name.

On the frontend, the search code recognizes structfields belonging to
structlike variants in the `paths` table and re-constructs the URL to
the field's anchor on the enum documentation page.

closes #16017
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions