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 effective visibilities for reachable HIR nodes.
Enums
Represents the levels of effective visibility an item can have.