Diffstat (limited to 'tests/protocol_walker_hint.rs')
| -rw-r--r-- | tests/protocol_walker_hint.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/protocol_walker_hint.rs b/tests/protocol_walker_hint.rs index 0751a11..b1b2092 100644 --- a/tests/protocol_walker_hint.rs +++ b/tests/protocol_walker_hint.rs @@ -1,6 +1,6 @@ use std::any::TypeId; -use effectful::is_send_sync; +use effectful::SendSync; use treaty::{ any::{TypeName, TypeNameId}, protocol::walker::hint::{self, HintMeta, HintProto}, @@ -302,10 +302,9 @@ mod common; #[test] fn hint_proto() { + #[derive(SendSync)] struct MyProtocol; - is_send_sync!(MyProtocol); - impl<'a, 'ctx> TypeName::MemberTypeForLt<'a, 'ctx, Blocking, &'a &'ctx ()> for MyProtocol { type T = MyProtocol; } |