diff options
Diffstat (limited to 'tokio-test')
-rw-r--r-- | tokio-test/src/lib.rs | 3 | ||||
-rw-r--r-- | tokio-test/tests/clock.rs | 2 | ||||
-rw-r--r-- | tokio-test/tests/io.rs | 2 | ||||
-rw-r--r-- | tokio-test/tests/macros.rs | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/tokio-test/src/lib.rs b/tokio-test/src/lib.rs index a24277aa..4d8539bd 100644 --- a/tokio-test/src/lib.rs +++ b/tokio-test/src/lib.rs @@ -1,11 +1,10 @@ #![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0-alpha.1")] -#![deny( +#![warn( missing_docs, missing_debug_implementations, unreachable_pub, rust_2018_idioms )] -#![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] //! Tokio and Futures based testing utilites diff --git a/tokio-test/tests/clock.rs b/tokio-test/tests/clock.rs index 082ce311..915f6899 100644 --- a/tokio-test/tests/clock.rs +++ b/tokio-test/tests/clock.rs @@ -1,5 +1,5 @@ #![cfg(feature = "broken")] -#![deny(warnings, rust_2018_idioms)] +#![warn(rust_2018_idioms)] use futures::Future; use std::time::{Duration, Instant}; diff --git a/tokio-test/tests/io.rs b/tokio-test/tests/io.rs index 00044e83..93c9dc29 100644 --- a/tokio-test/tests/io.rs +++ b/tokio-test/tests/io.rs @@ -1,4 +1,4 @@ -#![deny(warnings, rust_2018_idioms)] +#![warn(rust_2018_idioms)] #![feature(async_await)] use tokio::io::{AsyncReadExt, AsyncWriteExt}; diff --git a/tokio-test/tests/macros.rs b/tokio-test/tests/macros.rs index ea3e5b5c..a33fbad8 100644 --- a/tokio-test/tests/macros.rs +++ b/tokio-test/tests/macros.rs @@ -1,5 +1,5 @@ #![cfg(feature = "broken")] -#![deny(warnings, rust_2018_idioms)] +#![warn(rust_2018_idioms)] use futures::{future, Async, Future, Poll}; use tokio_macros::{assert_not_ready, assert_ready, assert_ready_eq}; |