summaryrefslogtreecommitdiffstats
path: root/vendor/crossbeam-channel/tests
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/crossbeam-channel/tests')
-rw-r--r--vendor/crossbeam-channel/tests/golang.rs2
-rw-r--r--vendor/crossbeam-channel/tests/ready.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/vendor/crossbeam-channel/tests/golang.rs b/vendor/crossbeam-channel/tests/golang.rs
index 8050716c6..41149f485 100644
--- a/vendor/crossbeam-channel/tests/golang.rs
+++ b/vendor/crossbeam-channel/tests/golang.rs
@@ -9,7 +9,7 @@
//! - https://golang.org/LICENSE
//! - https://golang.org/PATENTS
-#![allow(clippy::mutex_atomic, clippy::redundant_clone)]
+#![allow(clippy::redundant_clone)]
use std::alloc::{GlobalAlloc, Layout, System};
use std::any::Any;
diff --git a/vendor/crossbeam-channel/tests/ready.rs b/vendor/crossbeam-channel/tests/ready.rs
index d8dd6ceb5..6e3fb2b64 100644
--- a/vendor/crossbeam-channel/tests/ready.rs
+++ b/vendor/crossbeam-channel/tests/ready.rs
@@ -229,6 +229,7 @@ fn default_when_disconnected() {
}
#[test]
+#[cfg_attr(miri, ignore)] // this test makes timing assumptions, but Miri is so slow it violates them
fn default_only() {
let start = Instant::now();