Skip to content

rustdoc --json output format, crate.paths does not contain all items #104651

Closed
@makspll

Description

@makspll

#76578

Code

Running
$ rustup run nightly-2022-11-20 cargo rustdoc -p bevy_asset@0.9.0 -- -Zunstable-options --output-format json
generates a json file whose paths mapping does not contain many of the internal structures such us:
AssetPathId, SourcePathId, HandleId, LabelId etc.

Not sure if this is intended, but without this mapping there is no way as far as I am aware to retrieve the original import paths to these things.

Version it worked on

nightly-2022-08-01

Version with regression

nightly-2022-11-20

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-jsonArea: Rustdoc JSON backendC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions