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 37606bc..1ca94dc 100644 --- a/tests/common/protocol/hint.rs +++ b/tests/common/protocol/hint.rs @@ -14,7 +14,7 @@ pub type KnownFactory<P> = mock! { pub HintWalker<P: HintMeta> { - pub fn hint<'a, 'b, 'c, 'ctx>(&'a mut self, visitor: DynVisitor<'b, 'ctx>, hint: MetaHint<'c, 'ctx, P>) -> Flow; + pub fn hint<'a, 'b, 'c, 'ctx>(&'a mut self, visitor: &'b mut TypeName::T<'b, 'ctx, P>, hint: MetaHint<'c, 'ctx, P>) -> Flow; pub fn known(&self) -> KnownFactory<P>; } @@ -30,7 +30,7 @@ any_trait! { impl<'ctx, P: HintMeta> Hint<'ctx, P> for MockHintWalker<P> { fn hint<'this, 'visitor, 'hint, 'e>( &'this mut self, - visitor: DynVisitor<'visitor, 'ctx>, + visitor: &'visitor mut TypeName::T<'visitor, 'ctx, P>, hint: MetaHint<'hint, 'ctx, P>, ) -> ErasedEffective<'e, Flow, P::Effect> where |