-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-cratesArea: Crates and their interactions (like crate loading)Area: Crates and their interactions (like crate loading)C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
I haven't figured out exactly what's going on here yet, but to repro:
mkdir /tmp/rustdoc-dirty && cd /tmp/rustdoc-dirty && cargo init
echo 'futures-preview = { version = "=0.3.0-alpha.16", features = ["io-compat"] }' >> Cargo.toml
cargo doc
cargo doc
(tested on rustc 1.36.0-nightly (a784a8022 2019-05-09)
)
The second cargo doc
should do no work and immediately exit, however it instead proceeds to document tokio-io
and everything after it. This only happens when the io-compat
feature is enabled, but does not happen when depending directly on tokio-io
.
jesskfullwood
Metadata
Metadata
Assignees
Labels
A-cratesArea: Crates and their interactions (like crate loading)Area: Crates and their interactions (like crate loading)C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.