summaryrefslogtreecommitdiffstats
path: root/tokio/tests/io_async_read.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/io_async_read.rs')
-rw-r--r--tokio/tests/io_async_read.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tokio/tests/io_async_read.rs b/tokio/tests/io_async_read.rs
index 0b9509e1..2be2aa1a 100644
--- a/tokio/tests/io_async_read.rs
+++ b/tokio/tests/io_async_read.rs
@@ -1,3 +1,6 @@
+#![warn(rust_2018_idioms)]
+#![cfg(feature = "full")]
+
use tokio::io::AsyncRead;
use tokio_test::task;
use tokio_test::{assert_ready_err, assert_ready_ok};