From cee12b751233ab72b1b93256a9ee42093982d531 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Tue, 21 Mar 2023 13:44:22 -0400 Subject: [PATCH] Allow IgnoreParent to be dead code. --- src/parser/parser_context.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser/parser_context.rs b/src/parser/parser_context.rs index 07cd186..ae3ae60 100644 --- a/src/parser/parser_context.rs +++ b/src/parser/parser_context.rs @@ -117,6 +117,7 @@ pub struct PreviousElementNode<'r> { #[derive(Clone)] pub enum ChainBehavior<'r> { AndParent(Option<&'r Matcher>), + #[allow(dead_code)] IgnoreParent(Option<&'r Matcher>), }