summaryrefslogtreecommitdiffstats
path: root/tokio-test/tests
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-08-10 00:07:57 +0900
committerGitHub <noreply@github.com>2019-08-10 00:07:57 +0900
commit73102760cfe1632b6b8073dfa5a506c0e69e4b5e (patch)
tree3feb237f1c3efd796b92e623dec28181acdbf691 /tokio-test/tests
parent18833a8e6709c3489ea8f401f1a9d9a28ae20226 (diff)
chore: change default lint level to warning and deny warnings in CI (#1416)
Diffstat (limited to 'tokio-test/tests')
-rw-r--r--tokio-test/tests/clock.rs2
-rw-r--r--tokio-test/tests/io.rs2
-rw-r--r--tokio-test/tests/macros.rs2
3 files changed, 3 insertions, 3 deletions
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};