Diffstat (limited to 'tests/walker_struct.rs')
-rw-r--r--tests/walker_struct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/walker_struct.rs b/tests/walker_struct.rs
index 293ea55..6cb6e36 100644
--- a/tests/walker_struct.rs
+++ b/tests/walker_struct.rs
@@ -29,7 +29,7 @@ struct X {
struct Info;
// This gives the struct walker enough information to walk the X struct.
-impl<'ctx, M> StructTypeInfo<'ctx, M> for Info {
+impl<'ctx, M, E: Effect> StructTypeInfo<'ctx, M, E> for Info {
const NAME: &'static str = "X";
const FIELDS: &'static [&'static str] = &["a", "b"];
@@ -40,7 +40,7 @@ impl<'ctx, M> StructTypeInfo<'ctx, M> for Info {
type T = X;
- fn walk_field<'a, E: Effect>(
+ fn walk_field<'a>(
index: usize,
value: &'ctx Self::T,
mut visitor: DynVisitor<'a, 'ctx>,