Skip to content

cargo doc no longer generates a nav list of all dependencies in the sidebar #85301

Closed
@Evrey

Description

@Evrey

Since i don't know which version, when running cargo doc on a project, the left sidebar of the docs no longer has a nav for all crates in the dependency graph. However, the documentation for all dependencies is still compiled.

Steps to reproduce

  1. Pick a Rust project with a few dependencies.
  2. Run cargo doc --open
  3. Expected: Left sidebar has a list of all dependencies, linking to each crate's local docs.
  4. Got: No such thing.

Version it worked on

It most recently worked on: I honestly don't remember. I update my nightly before every dev session. Allegedly that bug is 27 days old.

Version with regression

rustc --version --verbose:

rustc 1.54.0-nightly (ca82264ec 2021-05-09)
binary: rustc
commit-hash: ca82264ec7556a6011b9d3f1b2fd4c7cd0bc8ae2
commit-date: 2021-05-09
host: x86_64-unknown-linux-gnu
release: 1.54.0-nightly
LLVM version: 12.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-jsArea: Rustdoc's JS front-endC-bugCategory: This is a bug.P-highHigh priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions