cl-parser: Fix visability qualifier coming before attributes while parsing Item
This commit is contained in:
parent
f958bbcb79
commit
0fab11c11b
@ -186,8 +186,8 @@ impl<'t> Parser<'t> {
|
||||
pub fn item(&mut self) -> PResult<Item> {
|
||||
let start = self.loc();
|
||||
Ok(Item {
|
||||
vis: self.visibility()?,
|
||||
attrs: self.attributes()?,
|
||||
vis: self.visibility()?,
|
||||
kind: self.itemkind()?,
|
||||
extents: Span(start, self.loc()),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user