]> git.lizzy.rs Git - rust.git/commit
auto merge of #9432 : alexcrichton/rust/correct-item-visibility, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 25 Sep 2013 07:55:53 +0000 (00:55 -0700)
committerbors <bors@rust-lang.org>
Wed, 25 Sep 2013 07:55:53 +0000 (00:55 -0700)
commit45311846145a39e6b5755a0740d53ac4ea3183a4
tree0014edaa67fb5571cf4230df161807908c71d9fe
parentdad32f703d3df22f4d6b021c23cf2c08ae0f3d66
parent30862a64c29985b044d9bf6f74fcf1394bc145c7
auto merge of #9432 : alexcrichton/rust/correct-item-visibility, r=pcwalton

This fixes private statics and functions from being usable cross-crates, along
with some bad privacy error messages. This is a reopening of #8365 with all the
privacy checks in privacy.rs instead of resolve.rs (where they should be
anyway).

These maps of exported items will hopefully get used for generating
documentation by rustdoc

Closes #8592
src/librustc/middle/trans/base.rs
src/libsyntax/parse/obsolete.rs
src/libsyntax/parse/parser.rs
src/test/run-pass/default-method-supertrait-vtable.rs