-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation does not build on Rust 1.29.0 #1792
Comments
A dependency currently breaks downstream crates because |
Please re-open if this is still an issue once it hits beta. |
I assume this is the reason that the 'latest release' docs (linked in the README) on |
Actually, it's because the nightly that docs.rs uses is super old and has bugs that have since been fixed. |
FYI, building with current nightly fails again at the moment for me. Enabled features: Error:
|
@theduke That seems to be an issue with rustdoc. I've already reported that against rustc, see rust-lang/rust#54524. |
Setup
Versions
rustc 1.29.0-nightly (12ed235ad 2018-07-18)
1.3.2
), as well as latestmaster
(765b782f7f94932cf129bc603dc5909d7155e9fe
)Feature Flags
["32-column-tables", "sqlite", "chrono", "r2d2"]
(though probably all are affected)Problem Description
When building the documentation,
cargo doc
produces warnings, which, due todeny(warnings)
, cause an error – meaning you can not builddiesel
docs on current nightly.What are you trying to accomplish?
Build documentation for my project (and, transitively,
diesel
).What is the expected output?
What is the actual output?
A multitude of errors, ending with
Are you seeing any additional errors?
No.
Steps to reproduce
Run
cargo doc
on current nightly on this crate (be it directly or transitively).Steps to fix
One could either (a) fix the documentation errors, or (b) replace, as mentioned previously,
src/lib.rs#L131
. with#![cfg_attr(feature = "dox", deny(warnings, missing_debug_implementations, missing_copy_implementations, missing_docs))]
Checklist
The text was updated successfully, but these errors were encountered: