rustc: Add the notion of inherited visibility

This commit is contained in:
Patrick Walton 2012-08-03 13:58:14 -07:00
parent 0c623c4474
commit a805a1fb37
10 changed files with 83 additions and 65 deletions

View file

@ -700,7 +700,7 @@ type attribute_ = {style: attr_style, value: meta_item, is_sugared_doc: bool};
type trait_ref = {path: @path, ref_id: node_id, impl_id: node_id};
#[auto_serialize]
enum visibility { public, private }
enum visibility { public, private, inherited }
#[auto_serialize]
type item = {ident: ident, attrs: ~[attribute],