chore: Only error for warnings in CI

This makes it easier for developers to iterate, not having to stop to
write docs just to get things building.
This commit is contained in:
Ed Page 2021-12-06 11:03:12 -06:00
parent 84beec0bca
commit 8595357542
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.5")]
#![doc = include_str!("../README.md")]
#![deny(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
#![warn(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
#![forbid(unsafe_code)]
#![allow(clippy::needless_doctest_main)]

View file

@ -7,7 +7,7 @@
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
#![doc(html_root_url = "https://docs.rs/clap_generate_fig/3.0.0-beta.5")]
#![deny(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
#![warn(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
#![forbid(unsafe_code)]
#![allow(clippy::needless_doctest_main)]

View file

@ -8,7 +8,7 @@
#![cfg_attr(feature = "doc", doc = include_str!("../README.md"))]
//! <https://github.com/clap-rs/clap>
#![crate_type = "lib"]
#![deny(
#![warn(
missing_docs,
missing_debug_implementations,
missing_copy_implementations,