Diffstat (limited to 'tests/common/protocol/request_hint.rs')
-rw-r--r--tests/common/protocol/request_hint.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/common/protocol/request_hint.rs b/tests/common/protocol/request_hint.rs
index 88649df..f929630 100644
--- a/tests/common/protocol/request_hint.rs
+++ b/tests/common/protocol/request_hint.rs
@@ -14,7 +14,7 @@ use treaty::{
mock! {
pub RequestHintVisitor<E: Environment> {
- pub fn request_hint<'a, 'ctx>(&mut self, walker: DynWalker<'a, 'ctx, E>) -> VisitResult;
+ pub fn request_hint<'a, 'lt, 'ctx>(&mut self, walker: DynWalker<'a, 'lt, 'ctx, E>) -> VisitResult;
}
}
@@ -28,9 +28,9 @@ forward_send_sync!({} {} {E: (Environment + Send)} MockRequestHintVisitor<E>);
// }
impl<'ctx, E: Environment + Send> RequestHint<'ctx, E> for MockRequestHintVisitor<E> {
- fn request_hint<'this: 'e, 'walker: 'e, 'e>(
+ fn request_hint<'this: 'e, 'walker: 'e, 'lt: 'e, 'e>(
&'this mut self,
- walker: DynWalker<'walker, 'ctx, E>,
+ walker: DynWalker<'walker, 'lt, 'ctx, E>,
) -> Canonical<'e, VisitResult, E>
where
'ctx: 'this + 'walker,