-
Notifications
You must be signed in to change notification settings - Fork 691
cargo doc
fails for packages depending on nix
#917
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I cannot reproduce using rust 1.20.0, 1.28.0-nightly, or 1.27.0-beta.8. And the error messages don't make sense to me, because those imports are used. And the docs certainly build fine on docs.rs. Can you tell me more about your environment? |
I'm using rustup 1.11.0 (as indicated by Here are the results of my trying with various versions of rust (installed and used with I'm currently working around the problem my having a local clone of nix where the line |
Ok, I can reproduce it too, now that I've upgraded to rustc 1.29.0-nightly. |
It's a Rust bug. |
Hi, I noticed that
cargo doc
fails when documenting a project that hasnix
in its dependencies (whether directly or indirectly), apparently because of "unused import" errors.This happens with nix v0.11.0, with the latest rustup-provided nightly cargo (e2348c2db 2018-06-07).
Steps to reproduce:
(full log available here)
Thanks for you time.
The text was updated successfully, but these errors were encountered: