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()), })