e7e1bab27f
parse_item_or_view_item() would drop visibility if none of the conditions following it would hold. This was the case when parsing extern {} blocks, where the function was only used to parse view items, but discarded the visibility of the first not-view item. |
||
---|---|---|
.. | ||
ext | ||
parse | ||
util | ||
ast_map.rs | ||
ast_util.rs | ||
ast.rs | ||
attr.rs | ||
codemap.rs | ||
diagnostic.rs | ||
fold.rs | ||
parse.rs | ||
syntax.rc | ||
visit.rs |