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§

Enums§

  • Represents the levels of effective visibility an item can have.