Module rustc::middle::privacyUnstable
[-] [+]
[src]
A pass that checks to make sure private fields and methods aren't used outside their scopes. This pass will also generate a set of exported items which are available for use externally when compiled as a library.
Reexports
pub use self::PrivateDep::*; |
pub use self::ImportUse::*; |
pub use self::LastPrivate::*; |
Enums
ImportUse | |
LastPrivate | |
PrivateDep |
Type Definitions
ExportedItems | A set of AST nodes exported by the crate. |
ExternalExports | A set containing all exported definitions from external crates. The set does not contain any entries from local crates. |
LastPrivateMap | |
PublicItems | A set of AST nodes that are fully public in the crate. This map is used for documentation purposes (reexporting a private struct inlines the doc, reexporting a public struct doesn't inline the doc). |