diff --git a/src/protocol/tests/utils.rs b/src/protocol/tests/utils.rs index e375b6abc0f348460a6966c94fd1a7cf152d355a..f5aaff9b5281820d684fff34c06aab35d63ddea9 100644 --- a/src/protocol/tests/utils.rs +++ b/src/protocol/tests/utils.rs @@ -551,11 +551,11 @@ impl<'a> ExpressionTester<'a> { pub(crate) struct AstErrTester { test_name: String, - error: ParseError2, + error: ParseError, } impl AstErrTester { - fn new(test_name: String, error: ParseError2) -> Self { + fn new(test_name: String, error: ParseError) -> Self { Self{ test_name, error } } @@ -572,7 +572,7 @@ impl AstErrTester { pub(crate) struct ErrorTester<'a> { test_name: &'a str, - error: &'a ParseError2, + error: &'a ParseError, } impl<'a> ErrorTester<'a> {