Diffstat (limited to 'tests/common/protocol/sequence.rs')
-rw-r--r--tests/common/protocol/sequence.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/common/protocol/sequence.rs b/tests/common/protocol/sequence.rs
index dfc2b36..8bb959d 100644
--- a/tests/common/protocol/sequence.rs
+++ b/tests/common/protocol/sequence.rs
@@ -42,7 +42,7 @@ impl<'ctx, E: Environment + Send> Sequence<'ctx, E> for MockSequenceVisitor<E> {
mock! {
pub SequenceScope<E: Environment> {
pub fn size_hint(&mut self) -> (usize, Option<usize>);
- pub fn next<'a, 'b, 'ctx>(&'a mut self, visitor: DynVisitor<'b, 'ctx, E>) -> Flow;
+ pub fn next<'a, 'b, 'lt, 'ctx>(&'a mut self, visitor: DynVisitor<'b, 'lt, 'ctx, E>) -> Flow;
}
}
@@ -53,9 +53,9 @@ impl<'ctx, E: Environment + Send> SequenceScope<'ctx, E> for MockSequenceScope<E
E::value(self.size_hint()).cast()
}
- fn next<'a: 'c, 'b: 'c, 'c>(
+ fn next<'a: 'c, 'd: 'c, 'b: 'c, 'c>(
&'a mut self,
- visitor: DynVisitor<'b, 'ctx, E>,
+ visitor: DynVisitor<'b, 'd, 'ctx, E>,
) -> Canonical<'c, Flow, E> {
E::value(self.next(visitor)).cast()
}