diff --git a/src/template_parser.rs b/src/template_parser.rs index 693432e72..4c7c86451 100644 --- a/src/template_parser.rs +++ b/src/template_parser.rs @@ -106,6 +106,8 @@ impl<'a, I: 'a> Property<'a, I> { } } +struct PropertyAndLabels<'a, C>(Property<'a, C>, Vec); + fn parse_method_chain<'a, I: 'a>( pair: Pair, input_property: PropertyAndLabels<'a, I>, @@ -207,8 +209,6 @@ fn parse_timestamp_method<'a>(name: Pair, _args: Pairs) -> Property< } } -struct PropertyAndLabels<'a, C>(Property<'a, C>, Vec); - fn parse_commit_keyword<'a>( repo: RepoRef<'a>, workspace_id: &WorkspaceId,