Diffstat (limited to 'tests/common/protocol/value.rs')
| -rw-r--r-- | tests/common/protocol/value.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/common/protocol/value.rs b/tests/common/protocol/value.rs index a3f4dbb..08b069a 100644 --- a/tests/common/protocol/value.rs +++ b/tests/common/protocol/value.rs @@ -70,7 +70,7 @@ where // } } -pub trait ValueVisitorExt<'ctx> { +pub trait ValueVisitorExt<'lt, 'ctx> { fn visit_value_and_done<'a, T>(&'a mut self, value: T) where T: type_name::WithLt<'a, 'ctx>, @@ -84,9 +84,9 @@ pub trait ValueVisitorExt<'ctx> { 'ctx: 'a; } -impl<'ctx, U> ValueVisitorExt<'ctx> for U +impl<'lt, 'ctx, U> ValueVisitorExt<'lt, 'ctx> for U where - U: AsVisitor<'ctx, BlockingSpin>, + U: AsVisitor<'lt, 'ctx, BlockingSpin>, { #[track_caller] fn visit_value_and_done<'a, T>(&'a mut self, value: T) |