-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
#![deny(warnings)] affects doc warnings #54316
Comments
None of these helped:
I want to make warnings be warnings again when I call |
If you're using My suggestion for affected crates is to set The other thing i noticed in your linked issue is that it's affecting dependencies when running I would be open to creating a new lint group for rustdoc-specific lints; since we're planning on adding more over time, that would be a good way to handle them in a blanket fashion. cc @GuillaumeGomez |
|
@QuietMisdreavus there is one, kind of. Nothing official yet though. :) |
I've opened #56689 to add a new lint group for lints emitted by rustdoc. |
This was fixed by #56689; you can now use |
On
rustc 1.30.0-nightly (e4ba1d41e 2018-09-15)
#![deny(warnings)]
affects doc warnings, which makes it impossible to build docs. It may take huge time for a crate to fix these warnings. See tokio-rs/tokio#437Possible solution: distinguish warnings in code and warnings in docs by providing
#![deny(doc_warnings)]
The text was updated successfully, but these errors were encountered: