summaryrefslogtreecommitdiffstats
path: root/tokio/tests/sync_errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/sync_errors.rs')
-rw-r--r--tokio/tests/sync_errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tokio/tests/sync_errors.rs b/tokio/tests/sync_errors.rs
index 8cc0c0cd..260f3be6 100644
--- a/tokio/tests/sync_errors.rs
+++ b/tokio/tests/sync_errors.rs
@@ -1,4 +1,5 @@
#![warn(rust_2018_idioms)]
+#![cfg(feature = "full")]
fn is_error<T: ::std::error::Error + Send + Sync>() {}