libsyntax: Parse visibility modifiers before foreign items
This commit is contained in:
parent
7e7411e620
commit
0bcb3bc536
3 changed files with 15 additions and 8 deletions
|
@ -1485,7 +1485,8 @@ type foreign_item =
|
|||
attrs: ~[attribute],
|
||||
node: foreign_item_,
|
||||
id: node_id,
|
||||
span: span};
|
||||
span: span,
|
||||
vis: visibility};
|
||||
|
||||
#[auto_serialize]
|
||||
enum foreign_item_ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue