summaryrefslogtreecommitdiffstats
path: root/tokio-sync/tests/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-sync/tests/errors.rs')
-rw-r--r--tokio-sync/tests/errors.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tokio-sync/tests/errors.rs b/tokio-sync/tests/errors.rs
index 97ab7e57..2afafc1f 100644
--- a/tokio-sync/tests/errors.rs
+++ b/tokio-sync/tests/errors.rs
@@ -6,7 +6,6 @@ fn is_error<T: ::std::error::Error + Send + Sync>() {}
fn mpsc_error_bound() {
use tokio_sync::mpsc::error;
- is_error::<error::RecvError>();
is_error::<error::SendError>();
is_error::<error::TrySendError<()>>();
is_error::<error::UnboundedRecvError>();
@@ -26,6 +25,5 @@ fn oneshot_error_bound() {
fn watch_error_bound() {
use tokio_sync::watch::error;
- is_error::<error::RecvError>();
is_error::<error::SendError<()>>();
}