Diffstat (limited to 'tests/protocol_visitor_value.rs')
-rw-r--r--tests/protocol_visitor_value.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/protocol_visitor_value.rs b/tests/protocol_visitor_value.rs
index cd835ea..a566670 100644
--- a/tests/protocol_visitor_value.rs
+++ b/tests/protocol_visitor_value.rs
@@ -4,7 +4,7 @@ use common::protocol::{
hint::{KnownFactory, MockHintWalker},
value::MockValueVisitor,
};
-use effectful::is_send_sync;
+use effectful::SendSync;
use mockall::predicate::eq;
use treaty::{
any::{
@@ -29,11 +29,9 @@ mod common;
#[test]
fn custom_value_type() {
// The value we want to visit in the value visitor.
- #[derive(PartialEq, Debug, Clone)]
+ #[derive(PartialEq, Debug, Clone, SendSync)]
struct MyValue;
- is_send_sync!(MyValue);
-
let mut mock = MockValueVisitor::<OwnedStatic<MyValue>, Blocking>::new();
// Expect the visit method to be called once with the custom type.