Module rustc_middle::middle::privacy
source · Expand description
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.
Structs
Holds a map of accessibility levels for reachable HIR nodes.
Enums
Represents the levels of accessibility an item can have.