Skip to content

cargo doc --no-deps shows rustdoc warnings in dependencies #59367

Closed
@najamelan

Description

@najamelan

cargo 1.35.0-nightly (0e35bd8af 2019-03-13)

When running cargo doc --no-deps, dependencies docs are still being checked even if not linked into the resulting documentation. This makes it impossible to generate documentation for my crate if I have deny( warnings ) on. I suppose it would also make it impossible for people depending on my crate to generate documentation if I had deny( warnings ) on.

In other words, it makes it impossible to use deny( warnings ) in published code.

Metadata

Metadata

Labels

A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions