-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
cargo +nightly doc panics for crates depending on gfx-backend-empty #70874
Copy link
Copy link
Closed
Labels
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.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
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.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
If I create a new crate with
Then add a dependency on gfx-backend-empty version 0.5:
Then run
cargo docon stable:cargo docsucceeds with warnings. I'm not sure if the warnings are relevant, but the warnings incargo +stable docare for some empty blocks in examples that haven't been populated, such as:Now if I run the same command on nightly (
nightly-2020-04-06):cargo docpanics with the following error:The panic originates in
rust/src/librustdoc/passes/mod.rs
Line 411 in 1ccb0b4
Besides
stableandnightly, I tried thenightly-2020-03-19toolchain which succeeds with warnings (likestable).I also created a repo which reproduces the issue at https://github.com/grovesNL/rustdocissue if it's convenient to clone that instead of following the steps above.