diff --git a/src/protocol/tests/utils.rs b/src/protocol/tests/utils.rs index 248844a38e89aa14307369f43b870804a1610c50..ece23a2f6126c52d67029237c90612ac3d21ddfb 100644 --- a/src/protocol/tests/utils.rs +++ b/src/protocol/tests/utils.rs @@ -450,11 +450,11 @@ impl<'a> UnionTester<'a> { pub(crate) struct FunctionTester<'a> { ctx: TestCtx<'a>, - def: &'a Function, + def: &'a FunctionDefinition, } impl<'a> FunctionTester<'a> { - fn new(ctx: TestCtx<'a>, def: &'a Function) -> Self { + fn new(ctx: TestCtx<'a>, def: &'a FunctionDefinition) -> Self { Self{ ctx, def } }