diff options
author | Taiki Endo <te316e89@gmail.com> | 2019-08-10 00:07:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-10 00:07:57 +0900 |
commit | 73102760cfe1632b6b8073dfa5a506c0e69e4b5e (patch) | |
tree | 3feb237f1c3efd796b92e623dec28181acdbf691 /tokio-test | |
parent | 18833a8e6709c3489ea8f401f1a9d9a28ae20226 (diff) |
chore: change default lint level to warning and deny warnings in CI (#1416)
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}; |