summaryrefslogtreecommitdiffstats
path: root/tokio/tests/io_split.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/io_split.rs')
-rw-r--r--tokio/tests/io_split.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tokio/tests/io_split.rs b/tokio/tests/io_split.rs
index 054a415f..0080f46a 100644
--- a/tokio/tests/io_split.rs
+++ b/tokio/tests/io_split.rs
@@ -1,3 +1,6 @@
+#![warn(rust_2018_idioms)]
+#![cfg(feature = "full")]
+
use tokio::io::{split, AsyncRead, AsyncWrite, ReadHalf, WriteHalf};
use std::io;