rustc: Add the notion of inherited visibility
This commit is contained in:
parent
0c623c4474
commit
a805a1fb37
10 changed files with 83 additions and 65 deletions
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue