Diffstat (limited to 'src/walk.rs')
-rw-r--r--src/walk.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/walk.rs b/src/walk.rs
index c16f5ae..0e02306 100644
--- a/src/walk.rs
+++ b/src/walk.rs
@@ -14,7 +14,9 @@ pub trait Walk<'ctx, M, E: Effect>: Sized {
type Walker: Walker<'ctx, E>;
#[must_use]
- fn into_walker(self) -> Self::Walker;
+ fn into_walker<'e>(self) -> ErasedEffective<'e, Self::Walker, E>
+ where
+ Self: 'e;
}
pub trait WalkerTypes {