Commit Graph

10 Commits

Author SHA1 Message Date
Guillaume Gomez
d3d9e223e2 Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
Nixon Enraght-Moony
760b972672 rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
Camelid
b0659f9b1b rustdoc-json: Rename Import.span to Import.source
* It is called `source` in rustc and the rest of rustdoc
* It is not a span, rather it is the source of the import
2021-03-21 19:47:12 -07:00
Joshua Nelson
be069a687a Remove krate.version; fix crate_version in JSON
Previously, `JsonRenderer::after_krate` called `krate.version.clone()`.
The problem was it did that after the version was already moved into the
cache, so it would always be None. The fix was to get the version from
the cache instead.
2021-03-01 00:30:40 -05:00
Nixon Enraght-Moony
dd4b938c7f Implement using @set values 2021-02-20 01:50:12 +00:00
Nixon Enraght-Moony
cd5f603c31 Implement @set 2021-02-20 01:25:09 +00:00
Nixon Enraght-Moony
a00eb7ee1d Add @is command to jsondocck 2021-02-20 00:43:02 +00:00
Rune Tynan
728ffc8c03
Address review v2 2021-01-19 17:02:34 -05:00
Rune Tynan
7715656edd
Add jsondocck tool, and use it for rustdoc JSON 2021-01-19 14:24:25 -05:00
Nixon Enraght-Moony
c254a15906 Use true ID for def_id. 2020-12-05 22:38:57 +00:00