From 0fab11c11b6875ed2a9689b5c1c1f9c79d0afd1a Mon Sep 17 00:00:00 2001 From: John Date: Sun, 14 Apr 2024 23:13:17 -0500 Subject: [PATCH] cl-parser: Fix visability qualifier coming before attributes while parsing Item --- cl-parser/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl-parser/src/parser.rs b/cl-parser/src/parser.rs index e59b249..b988c13 100644 --- a/cl-parser/src/parser.rs +++ b/cl-parser/src/parser.rs @@ -186,8 +186,8 @@ impl<'t> Parser<'t> { pub fn item(&mut self) -> PResult { let start = self.loc(); Ok(Item { - vis: self.visibility()?, attrs: self.attributes()?, + vis: self.visibility()?, kind: self.itemkind()?, extents: Span(start, self.loc()), })