Diffstat (limited to 'tests/common/protocol/hint.rs')
| -rw-r--r-- | tests/common/protocol/hint.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common/protocol/hint.rs b/tests/common/protocol/hint.rs index 5884132..2bc6c7f 100644 --- a/tests/common/protocol/hint.rs +++ b/tests/common/protocol/hint.rs @@ -2,6 +2,7 @@ use effectful::{ bound::{Bool, IsSend, IsSync}, effective::Effective, environment::{Environment, NativeForm}, + forward_send_sync, }; use mockall::mock; use treaty::{ @@ -25,8 +26,7 @@ mock! { } } -unsafe impl<P: HintMeta, F: Bool> IsSend<F> for MockHintWalker<P> {} -unsafe impl<P: HintMeta, F: Bool> IsSync<F> for MockHintWalker<P> {} +forward_send_sync!({} {} {P: (HintMeta)} MockHintWalker<P>); any_trait! { impl['ctx, P][E] MockHintWalker<P> = [ |