Diffstat (limited to 'src/walk.rs')
| -rw-r--r-- | src/walk.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/walk.rs b/src/walk.rs index 9c6cd10..d15c6f4 100644 --- a/src/walk.rs +++ b/src/walk.rs @@ -1,5 +1,7 @@ pub mod walkers; +use core::fmt::{Debug, Display}; + use crate::{ effect::{Effect, Effective, EffectiveExt, ErasedEffective}, protocol::DynVisitor, @@ -16,7 +18,7 @@ pub trait Walk<'ctx, M, E: Effect>: Sized { } pub trait WalkerTypes { - type Error: Send + Sync; + type Error: Send + Sync + Debug; /// An arbitrary type the walker is left with after walking. /// |