aboutsummaryrefslogtreecommitdiff
path: root/tests/object_safety.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/object_safety.rs')
-rw-r--r--tests/object_safety.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/object_safety.rs b/tests/object_safety.rs
index 30c892f..b49ee88 100644
--- a/tests/object_safety.rs
+++ b/tests/object_safety.rs
@@ -28,6 +28,7 @@ fn sink() {
assert_is_object_safe::<&dyn Sink<(), Error = ()>>();
}
+#[cfg(feature = "std")] // futures::io
#[test]
fn io() {
// `AsyncReadExt`, `AsyncWriteExt`, `AsyncSeekExt` and `AsyncBufReadExt` are not object safe.