Module rustc::middle::privacy
[−]
[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 | [Unstable] |
| LastPrivate | [Unstable] |
| PrivateDep | [Unstable] |
Type Definitions
| ExportedItems |
[Unstable] A set of AST nodes exported by the crate. |
| ExternalExports |
[Unstable] A set containing all exported definitions from external crates. The set does not contain any entries from local crates. |
| PublicItems |
[Unstable] 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). |