From 461db95716ac91f60ee4877bb94c474b5fa25ca7 Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Sat, 15 Jun 2024 14:03:29 +0200 Subject: [PATCH] Fix issue when compiling on 1.65 --- src/syn_compat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syn_compat.rs b/src/syn_compat.rs index 2eb69c40..7a159b3c 100644 --- a/src/syn_compat.rs +++ b/src/syn_compat.rs @@ -149,7 +149,7 @@ fn parse_meta_path(input: ParseStream) -> Result { }) } -pub fn parse_meta_after_path(path: Path, input: ParseStream) -> Result { +pub(crate) fn parse_meta_after_path(path: Path, input: ParseStream) -> Result { if input.peek(token::Paren) { parse_meta_list_after_path(path, input).map(ParsedMeta::List) } else if input.peek(Token![=]) {